When you click on header of field in a Grid. The records are sorted by that field. I want to stop that functionality for some reason.
Solution:
Go to the field of Grid on which you want to stop sorting in this case Attribute.
Right click on the method and override sort method as shown in the following diagram.
Now comment out the line as shown in the following figure.
Then press save button.
Open the form again and click on attribute field. You will see the records will not sorted. Repeat the process for as many fields as you want.
No comments:
Post a Comment
Note: Only a member of this blog may post a comment.