如何从网格中获取数据

How to get data from grid

如何在data-grid中查看highlightedline中的内容?

put the dgHilitedLine of group "DataGrid"  into theLine
   answer dgLine[theLine] 

如果 "theLine" 的值为 5 那么,如何获取网格中突出显示的字段中的文本。

put the dgHilitedLines of group "Datagrid" into mylist
put the dgText of group "Datagrid" into myText
repeat for each item tItem in mylist
  put line tItem of myText & CR after myselctedlines
end repeat
answer myselctedlines

http://livecode.wikia.com/wiki/Datagrid_API