on 05-21-2010 3:26 PM
I have created a form to edit a UDO. The form contains a grid that uses the CollapseLevel property. After the form updates an existing UDO, the grid will not keep the row grouping. The expand/collapse arrow does not show and all rows in the grid are shown.
Has anyone experienced this issue before? If I navigate to the next and then previous record the row grouping is restored, but I would prefer not having to do this after every update.
Thanks,
Brandon
Brandon,
Have a look at the SAP Business One 8.8 SDK sample code for Grid and Matrices at ...
...\Program Files\SAP\SAP Business One SDK\Samples\COM UI\VB.NET\26. MatrixAndGridFeatures
... this may help you.
Eddy
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I have found out where my trouble was.
I was updating my grid control on the Form Data Update event. Something handling the auto managed part of the form must have been dropping the grid's collapse level after the Form Data Update event is triggered. I resolved this issue by moving my code to update the grid (and set the collapse level) from the Form Update Data event to the Update button Item Pressed (ActionSuccess) event.
-Brandon
User | Count |
---|---|
108 | |
12 | |
11 | |
6 | |
5 | |
4 | |
3 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.