Hi,
I need to capture the current width columns of the igGrid (resizing enabled) and set them back to the grid on some action after some time. The grids have virtualization enabled and are have continuous mode.
We are using 2013.2 version of ignite ui controls.
Please suggest the right of capturing and setting the widths of columns programmatically.
Thanks,
Kiran Kumar L
Hello Kiran Kumar,
Please let us know if you have any further questions regarding this matter.
We tried the steps suggested by you, and works fine when the width is specified in pixel.
But in our application we have the grid where the column width is specified in percent and found its not working as expected.
$(
".selector"
).igGridResizing(
"resize"
, 0, columnWidth);
Hello Veena,
The resize method works with arguments in pixels. This is clearly stated in our API docs. What you can do is to manually convert the new column width from percents to pixels and then use the resize method. We will evaluate whether we can improve this API to work directly with arguments in percents.
Hope this helps,Martin PavlovInfragistics, Inc.