I see. The grid is not populated until the user selects update, but I then run a bizobj.requery() and then a grid.refresh(). I thought that should sort the grid too. If it is not supposed to sort the grid, you should remove the little arrow in the column.
-----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ed Leafe Sent: 19. juni 2006 18:11 To: Dabo Users list Subject: Re: [dabo-users] biz objects, relations and grids On Jun 19, 2006, at 11:43 AM, Simen Haugen wrote: > Although.. When the application loads, it uses the settings from the > previous run - including a graphical indication that the table is > sorted. But when the grid is populated, it is not sorted - I have to > press the column again. How is the grid getting its data? When it is initially constructed, it restores the previous sort order, but if you then change the data by any means other than setting the grid.DataSet property, there is no way for the grid to "know" it has to sort itself. -- Ed Leafe -- http://leafe.com -- http://dabodev.com _______________________________________________ Post Messages to: [email protected] Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users _______________________________________________ Post Messages to: [email protected] Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users
