Thank you for being a valued client of CM First Group. If you have any technical issues or concerns, please open a ticket on support.cmfirstgroup.com, email CM First technical support at support@cmfirstgroup.com or call us on our 24/7 customer hotline at +1 (512) 623-7586.

Follow

How to implement frozen columns in a grid

The Frozen Columns features allows you to specify which grid columns can be locked in place while the rest of the grid can be scrolled.  This makes it easier to track a particular row in grids that have a lot of fields.  

In the image below, the 2 columns on the left are frozen while the horizontal scrollbar only applies to the columns on the right.

FrozenCols.PNG

Plex supplies this feature with WinC-generated grids with the 'Frozen Columns' property, but in Java client it isn't supported, so WebClient cannot retrieve this property.  To get around this, we can use the 'frozenColumns' control name parameter.

e.g. 

Grid1P:MainArea:frozenColumns=2:default

This specifies that the left 2 columns will be frozen.  If the value is set to 0, or if the parameter is not specified at all, the grid will act as a normal grid where all columns scroll together.

If your grid supports column re-positioning by dragging and dropping the headers, it will not allow you to drag a non-frozen column to the frozen column area and vice-versa.

One limitation is that frozen columns cannot currently be used with entry grids that have a fixed entry row at the top.

 

Was this article helpful?
0 out of 0 found this helpful
Have more questions? Submit a request

Comments

Powered by Zendesk