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 Tech Support » Grid hiding columns problem Collapse All
Subject Author Date
Offer Har Mar 30, 2008 - 4:38 PM

I am using ExtentSet to hide columns in the grid.


It works well, but when I navigate in the grid with the arrow, the focus is moved to the hidden column, so I lose the focus.


Is there a better way to hide columns? If not, is there a way to make the focus skip the hidden column?

Technical Support Apr 16, 2008 - 4:56 AM

It’s really not a problem to implement pseudo-hidden grid cells based on a dedicated grid cell style. We added it to our to-do list.

Offer Har Apr 16, 2008 - 5:00 AM

Can you please explain what you mean?


What we are talking about is that when a column is hidden, there must be a way to un-hide that specific column - I think this is the missing functionality. It is not clear to me whet you mean by: pseudo-hidden grid cells based on a dedicated grid cell style.

Technical Support Apr 17, 2008 - 3:38 AM

We have just implemented an __EGCS_EX_INVISIBLE extended grid cell style which allows you to hide a grid cell. This style does not remove the grid cell so you can access it through the methods of CExtGridWnd. So any such a cell invisible and it is not painted/printed and does not affect the user input.

The current implementation of hidden rows/columns in the CExtGridWnd class was designed for row/column filtering feature. For instance, the filtering algorithm for rows assumes all rows are initialy visible. It traverses the rows and determines which of them should become hidden depending on the filtering rules. When the filtering rules change for rows, the algorithm shows all rows before applying these new rules.

Technical Support Mar 31, 2008 - 11:48 AM

You can hide a column by setting its width to zero only in the grids that are based on the full row focus/selection. The universal method, which allows you to hide a column universally, is CExtGridWnd::ColumnHide().

Offer Har Mar 31, 2008 - 11:58 AM

 


This function is in the Help file of 2.82.


I cannot find any ColumnUnHide function to go along with the ColumnHide - how should I unhide the column when I want to show it back?

Offer Har Apr 8, 2008 - 9:31 AM

Dear Support,


Any answers?


I cannot find any ColumnUnHide function to go along with the ColumnHide - how should I unhide the column when I want to show it back?


How do I un-hide a hidden column?


Please add these function to the help of 2.83.

Technical Support Apr 10, 2008 - 10:43 AM

The CExtGridWnd class uses accumulative row/column hiding/displaying APIs. You can invoke the CExtGridWnd::ColumnHide() method many times and then invoke CExtGridWnd::ColumnUnHideAll() in order to restore the visible state of all previously hidden columns.

Offer Har Apr 10, 2008 - 10:50 AM

I don’t want to un-hide all - I want to un-hide a specific column.