Problem after datagrid form sort
Posted: Fri Sep 06, 2013 5:07 pm
Further to my recent problems with DataGrid forms :
I've managed to sort my DataGrid by Key with a:
dispatch "sortDataByKey" to group "myDataGrid" with "myKey", "International", "Ascending/Descending", "False"
but... when I then click / select a specific item/row I'm parsed the data from the wrong dgIndex.
If I remove the sort then everything works just dandy... add the sort and my line/row selection goes to pot...
What I'm trying to do is pass all the relevant data on a specific item into a DataGrid but only displaying enough of it to enable the user to select the item they want to see. Clicking on the required line/row should (well, it does when I don't sort the data) open a group of items that displays the item in full... well, that's the idea but, like I say, I can't get it work after a sort...
Any ideas please ?
I've managed to sort my DataGrid by Key with a:
dispatch "sortDataByKey" to group "myDataGrid" with "myKey", "International", "Ascending/Descending", "False"
but... when I then click / select a specific item/row I'm parsed the data from the wrong dgIndex.
If I remove the sort then everything works just dandy... add the sort and my line/row selection goes to pot...
What I'm trying to do is pass all the relevant data on a specific item into a DataGrid but only displaying enough of it to enable the user to select the item they want to see. Clicking on the required line/row should (well, it does when I don't sort the data) open a group of items that displays the item in full... well, that's the idea but, like I say, I can't get it work after a sort...
Any ideas please ?