PDA

View Full Version : Column resize in Grid without headers



mrjari
26 May 2014, 12:26 AM
Hi
What I would like to achieve is to make all columns of a grid resizable, but having the grid header hidden.
Easy speaking all the column should have the border resizable, not just the header (that is not visible)

Any idea on how to do it?

ExtJs version 4.2.2

Thank

--
Fabio

scottmartin
26 May 2014, 5:53 AM
You are going to have to code this yourself. Perhaps add the config columnLines : true and then provide the functionality of the header to resize. Or create a separate control that lists the columns and provide a width value. Seems like a lot of extra work.

Maybe hide the header, then show it only when the user wants to resize, or make the header only a few pixels tall.

mrjari
26 May 2014, 11:56 PM
Thank you, I appreciate your suggestions.
I think I'll go with the header only a few pixels tall...