>Hi!
>
>I use grid whose recordsource is alias from remote view. How I have to create function in the grid.columnX.headerX.DblClick which could sort my data by clicked column.
>
>Thanks
>Eugenijus Rimkus
As Roi mentions, you need to create an index on the view for each column you want to sort by. I've created a grid class that helps with setting the order and changing the header of the sorted column. If you're interested, you can download it from
www.peisch.com/downloads.html.