:: Forum >>

Show/Hide Column Header and Data conditionally

The grid is really cool and awsome. I looking for a functionality by which I can Show or hide column Header and data conditionally. I figured out a way for Data.
var column = new Active.Templates.Text;
column.setStyle("display", "none");
obj.setTemplate("column", column, 2);

But I don't know how to hide a column.
Thanks in Advance
VB
Wednesday, July 21, 2004
The grid is really cool and awsome. I was looking for a functionality by which I can Show or hide column Header and data conditionally. I figured out a way for Data hiding:
var column = new Active.Templates.Text;
column.setStyle("display", "none");
obj.setTemplate("column", column, 2);

But I don't know how to hide a column Header.
Thanks in Advance
VB
Wednesday, July 21, 2004

http://www.activewidgets.com/messages/733-3.htm

http://www.activewidgets.com/messages/177-10.htm

setColumnValues will do the magic ;-) Check above posts...
Su
Wednesday, July 21, 2004

This topic is archived.


Back to support forum

Forum search