On Monday 25 April 2016 20:31:46 Krzysztof wrote:
> Hi Martin,
>
> I have own data in TList, I already have sort functions for items but
> how to connect it to TDrawgrid? Grid should emit some event when
> clicked on header column so I could sort list 

In normal datagrids sorting is done by the mergesort mechanism of the grid and 
the comparison functions of the TDatalist descendants in the datacolumns or 
by comparison in T*Grid.OnSort event. Because you don't use TDatalist you 
can't use that, please try T*Grid.OnSortChanged instead.

> and then it should show 
> some kind of indicator which column is sorted and in which direction.
>
Please activate T*Grid.FixRows[n].Captions[m].Options dco_colsort.

Martin

------------------------------------------------------------------------------
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
_______________________________________________
mseide-msegui-talk mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk

Reply via email to