J
JDP@Work
I can dynamically sort my datagrid
However when I select an item to edit before I sort, for example, selecting the
Edit link on physical row 3, itemIndex = 2, that row highlights and I can edit
my two editable text fields, HOWEVER....
When I SORT, and I select the same physical row 3, this should be itemIndex
either 2 or say 26, but it opens the original itemindex = 2 item and not 26 as
it should, it's as if the itemindex is still 2 for the datagrid row, but the
itemindex for the data is now in position n, but certainly not at postition 2.
It should be 2 if the data is re-indexed or 26 if it is not, but it seems that
it's the relative index for the grid and has nothing to do with the data item
number.
TIA
JeffP.....
However when I select an item to edit before I sort, for example, selecting the
Edit link on physical row 3, itemIndex = 2, that row highlights and I can edit
my two editable text fields, HOWEVER....
When I SORT, and I select the same physical row 3, this should be itemIndex
either 2 or say 26, but it opens the original itemindex = 2 item and not 26 as
it should, it's as if the itemindex is still 2 for the datagrid row, but the
itemindex for the data is now in position n, but certainly not at postition 2.
It should be 2 if the data is re-indexed or 26 if it is not, but it seems that
it's the relative index for the grid and has nothing to do with the data item
number.
TIA
JeffP.....