Removing Sort Button

Is there a way to prevent the sort button from appearing above the vertical scrollbar of a ListGrid? I would like the users to sort columns only by clicking column headers and not using the button that appears above the vertical scrollbar.

I am on smartgwt2.4 and using IE8

Not really, other than a possible hack of trying to find out if the current event target is a ListGrid sort button way down in the DataSource layer (for example) and ignoring it.

Why would you want to do this at all?

I appreciate your quick response.

My supervisor asked me to not to show it, but I couldn’t figure out a way not to. So I submitted my question hoping that there might exist a ListGrid method I could use to achieve this gracefully without hacking. I don’t want to go “way down in the DataSource layer” to achieve this though. lol
Thanks.

Well, you can suppress it with showCornerSortButton:false, but this is basically worse looking and less functional, so we can’t really recommend it. Hopefully your supervisor will see the result and ask that you switch it back.