:: Forum >>

How I can add hidden column in the grid?

Hello,

How I can add hidden column in my grids? I need to access data that I don't want it to be visible to the user.

Anyone can help me?

Thanks
Mape (Paraguay)
Wednesday, November 15, 2006
thegrid.setColumnIndices([0,1,3]);

Would display columns 0,1 and 3 but not 2.

Karl Thoroddsen
Wednesday, November 15, 2006
Hi Karl

Thank you very much for the response, it was of great usefulness.

Regards
Mape (Paraguay)
Wednesday, November 15, 2006
Karl, the code works correctly in 2.0 version, but I need to implement it on 1.0.2 version.

Anyone have an idea?
Mape (Paraguay)
Wednesday, November 15, 2006
obj.setColumnValues([0,2,4]); is the "setColumnIndices" equivalent command for Ver 1.0.2, but you can also use css.
Check this post
http://www.activewidgets.com/javascript.forum.733.8/hide-an-id-column.html
Carlos
Wednesday, November 15, 2006
Carlos

Thank you very much for your response, it works correctly

Thank you!

Regards
Mape (Paraguay)
Wednesday, November 15, 2006

This topic is archived.


Back to support forum

Forum search