For example :
step1///////////////////
at behind set the grid columns[o].caption="COL0";
step2//////////////////
at client use JS set the grid columns[0].setHeaderText("COLCOL");
step3//////////////////
but at behind get the grid columns[0].cation still "COL0"???
The header caption can change by JS??
or other mode can change the caption。only by JS。
who can help me?
Hi sismm,
In order to change the caption of a WebDataGrid's column, you can use something similar to:
ig_controls.WebDataGrid1.get_columns().get_column(0).get_headerElement().textContent = "New Header Caption"
You may find more useful information regarding client-side programming using the WebDataGrid in our documentation:
http://help.infragistics.com/NetAdvantage/ASPNET/2011.1/CLR4.0/?page=WebDataGrid~Infragistics.Web.UI_namespace.html
Please let me know if you have any questions.
Best Regards,
Petar IvanovDeveloper Support EngineerInfragistics, Inc.http://ko.infragistics.com/support