cancel
Showing results for 
Search instead for 
Did you mean: 

Grid Bug in Version 2007A PL06?

adrian_meier01
Product and Topic Expert
Product and Topic Expert
0 Kudos
174

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

Accepted Solutions (0)

Answers (1)

Answers (1)

FOA
Product and Topic Expert
Product and Topic Expert
0 Kudos

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

Former Member
0 Kudos

this is also in 2005 FYI

adrian_meier01
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi

It should be fixed in the next patch.

Adrian