RE: EuGrid question
- Posted by Jonas Temple <jtemple at yhti.net> Jul 21, 2003
- 431 views
I've never seen this error. Could you post some example code? The only other issues I'm aware with EuGrid are: - The sort function (right click on a column header to sort the data) does not work correctly for numeric values. - If you sort a column and the first column in the data set is not visible, the sort is based on the data in the prior column. Jonas Matt Lewis wrote: > > > Ah, excellent. Guess I didn't read the code closely enough. I'm not > sure > what you've fixed, but I just found this in EGW_DeleteColumn: > > -- Adjust current cell if necessary > if GridCurrentCell[grid][COL_ID] = col_id > and column = length(GridCol[grid]) then > > -- begin mwl 7/21/03 > if column > 1 then > > GridCurrentCell[grid][COL_ID]=GridCol[grid][column-1][EGW_COL_ID] > elsif not length(GridCol[grid]) then > GridCurrentCell[grid] = {-1,-1} > end if > -- end mwl > > Basically, I was getting an out of bounds error if column = 1. > > Thanks, > > Matt Lewis > > > > From: Jonas Temple [mailto:jtemple at yhti.net] > > > As one who's used EuGrid fairly extensively, maybe I can > > help. The grid > > will be cleared if you call EGW_LoadData as: > > > > void = EGW_LoadData( grid, {{}}, EGW_REPLACE ) > > void = EGW_DeleteDataRow(grid, 1) > > > > and then call repaintWindow(grid) to refresh the grid > > control. I know > > this is cheesy, but the grid data is replaced by an empty row > > and then > > you delete the empty row you just added. > > > > FYI, Phil hasn't been around lately and both Tony Steward and myself > > have sent requests for bug fixes/enhancments and have not heard from > > him. > > > > Phil, if you read this and never got the requests, please let me know. > >