Re: EuGrid problem
- Posted by CChris <christian.cuvier at agricultur?.gouv.?r> Mar 09, 2008
- 666 views
Vlado Kusnirak wrote: > > Hello, > > I have problem with function EGW_ScrollToCell. > > In my application are 4 EuGrid tables with 9 columns. First one works fine and > this function too, but if I try to scroll to cell in other EuGrid table it > doesn't > work. I've tried to trace this problem and there were other datas that I > expected. > The column_id of the required cell wasn't the same, which I've declared before > > "AcolNumber = EGW_AddColumn( EuGrid1, "#", 40, EGW_LAST, EGW_EDIT, 1 )" > . > . > . > "BcolNumber = EGW_AddColumn( EuGrid2, "#", 40, EGW_LAST, EGW_EDIT, 1 )" > . > . > Column_id in first case is 1, but in second case is 10 instead of declared 1. > Loading data into all EuGrid tables by EGW_LoadData > works fine. It's a bug or normal...Or I do something wrong. > > Help me please... > > (EuGrid1.3.3) > > Vlado Column ids in EuGrid are sequential. So: * first EuGrid has 9 columns withids 1-9 * second EuGrid has column ids 9+1 to 9+9 and so on Any new column gets an incremented id; ids are not recycled. HTH CChris