Quantcast
Viewing all articles
Browse latest Browse all 73760

Preventing users from sorting a grid

I have a grid in which the lines have a certain sequence. I have set the CounterField property on the Data Source to the LineNum field of the table. This part is working correctly.

Now I want to disable sorting so that when the user clicks the column header, the order displayed is not changed. How would I do this?

I have added an override method for sort(). Unfortunately, my method is not being called. I have added a breakpoint and an info() statement without any results. I have gone so far as restarting the AOS. I have a feeling that sort() is not the right method to use or there is something else I'm doing incorrectly.

This is for AX 2012. Any help is appreciated.

Thank you, Nehal.


Viewing all articles
Browse latest Browse all 73760

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>