Search found 4 matches

by kamran
Tue Nov 05, 2013 9:54 am
Forum: Talking LiveCode
Topic: How to get maximum length in datagrid or maximum dgIndex
Replies: 1
Views: 2105

How to get maximum length in datagrid or maximum dgIndex

Hi .

I have a brief question "How can we get maximum length in datagrid or how can we get maximum or last dgIndex in datagrid"

Thanks in Adavance.
regards

Kamran
by kamran
Tue Nov 05, 2013 9:31 am
Forum: Talking LiveCode
Topic: how to get all selected items of datagrid
Replies: 6
Views: 6566

Re: how to get all selected items of datagrid

Hi Klaus, I am so thankful to you.I have solved my issue. Just a little mistake was that..I had to write this- put the hilite of Button"Chk" of me into tData["CheckBox_Value"] instead of this.in mouse up of row behaviour. put the hilite of me into tData["CheckBox_Value"] Rest All code was perfect.I ...
by kamran
Fri Nov 01, 2013 3:37 pm
Forum: Talking LiveCode
Topic: how to get all selected items of datagrid
Replies: 6
Views: 6566

Re: how to get all selected items of datagrid

Thanks for the Response Klaus. My inital code was: put the dgData of group "DataGrid 1" into tData put the dgNumberOfLines of group "DataGrid 1" into count repeat with theLineNo = 1 to the dgNumberOfLines of group "DataGrid 1" if the hilite of button"Chk" of group "DataGrid 1" is true then put tData...
by kamran
Thu Oct 31, 2013 7:29 pm
Forum: Talking LiveCode
Topic: how to get all selected items of datagrid
Replies: 6
Views: 6566

how to get all selected items of datagrid

i have a datagrid having a field and checkbox in a row, i need to get the all selected row i am using following code repeat with theLineNo = 1 to the dgNumberOfLines of group "DataGrid 1" if the hilite of button theLineNo of group "DataGrid 1" is truethen put tData[theLineNo]["Unit"] into theUnit pu...