Professional UI Solutions
Site Map   /  Register
 
 

Forum

Please Log In to post a new message or reply to an existing one. If you are not registered, please register.

NOTE: Some forums may be read-only if you are not currently subscribed to our technical support services.

Forums » Prof-UIS General Discussion » Sort CExtGridWnd outer column Collapse All
Subject Author Date
Samuel Longchamps Apr 3, 2014 - 11:55 AM

Hi,


I haven’t found any way to do this, we basically have an id for each entry in our table implemented with CExtGridWnd which is shown in a cell placed in an outer column on the left side of the table. When sorting normal columns (we have an outer row at the top with field titles) by clicking on the column header, sorting is naturally applied to the column it’s in, but when trying to sort the first column by clicking on the top-left cell, which is both outer row and outer column, the sorting is applied to the first normal column (non-outer).


We do have two outer columns in fact, and the clicking on the second outer one applies sorting to the second non-outer column. The expected behavior would be to have the sorting working even for outer columns, such that we can sort by Id.


Any ideas?


The table looks like:


| Id   | NextOuter  ||  First non-outer | Second non-outer | etc.. |

---------------------------------------------------------------------------------

| 0    | state           || ###                     | ###                           | ### |

| 1    | state           || ###                     | ###                           | ### |

| 2    | state           || ###                     | ###                           | ### |

---------------------------------------------------------------------------------

(Outer)                  ||                             (Non-outer)