on 2007 Sep 04 12:51 PM
Hi all
Does anybody have the same problem in grid?
I setted a grid to collapselevel=1
The grid shows following rows
<i>Index</i> <i>Content</i>
0 collapsed row
1 437
2 collapsed row
3 159
4 3
5 56
6 empty
7 57
8 55
9 58
10 empty
11 collapsed row
12 60
13 53
14 54
This is waht I see visual. I listen now ti the doubleclick-event on Content column.
What I receive, is pVal.Row=7, when I click to row 7. This is correct, but:
int dataIndex = grid.GetDataTableRowIndex(pVal.Row)
dataIndex is at this moment 7! This is not correct, because if I use now the function grid.DataTable.GetValue("Content", dataIndex) it give me back the value "54"!
Thanks for help.
Adrian
Request clarification before answering.
Hi Adrian,
I checked it out and I think we have 2 bugs here.
One is related to: ldataidx = oGrid.GetDataTableRowIndex(pVal.Row) as the returned index always changes and is not the same assigned in the original query, how ever is correct that is not the same value of variable pVal.Row
Second one:
lValue = oGrid.DataTable.GetValue("DocNum", ldataidx)
Neither the local index variable or the pVal.Row are retreived as the resulting value :o/
Would you be so kind in reporting this to development please?
Thanks and sorry for the inconvenience.
Felipe
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
99 | |
8 | |
6 | |
5 | |
5 | |
4 | |
4 | |
3 | |
2 | |
2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.