Hello,
I want implement to the "(un)check 'Select All' check box automatically" code no in the MasterTable but in a DetailTable.
The difficult is on getting the id of the checkbox in the header beacause I can have either, one expanded DetailTable (i.e for the item 0 in the MasterTable), or several expanded DetailTables (i.e. for the itel 0 and for the item 6 in the Mastertable).
So i have 1, 2, 3 ... IDs.
I was trying to get the GridTableView handing the event "OnTableCreated" this way :
then I reach the property "all". Here I have 9 element (even my TableView have no more than 8 columns), and I reach the element [1]
that correspond (i think) to the "GridClientSelectColumn" and I get the id (The fist column in my tableView is the GridClientSelectColumn, i dont know what is the element [0]).
Is this the correct ID?
Is there anyway to perform that in a sympler way?
thank you for the help.
I want implement to the "(un)check 'Select All' check box automatically" code no in the MasterTable but in a DetailTable.
The difficult is on getting the id of the checkbox in the header beacause I can have either, one expanded DetailTable (i.e for the item 0 in the MasterTable), or several expanded DetailTables (i.e. for the itel 0 and for the item 6 in the Mastertable).
So i have 1, 2, 3 ... IDs.
I was trying to get the GridTableView handing the event "OnTableCreated" this way :
| var view; |
| function gettingIDs(sender, arg) |
| { |
| view=arg.get_tableView(); |
| } |
then I reach the property "all". Here I have 9 element (even my TableView have no more than 8 columns), and I reach the element [1]
that correspond (i think) to the "GridClientSelectColumn" and I get the id (The fist column in my tableView is the GridClientSelectColumn, i dont know what is the element [0]).
Is this the correct ID?
Is there anyway to perform that in a sympler way?
thank you for the help.