|
Rank: Advanced Member Groups: Member
Joined: 6/17/2010 Posts: 35
|
I have a datagrid and want to change the headerText of each column. The grid already exists and is then filled with data via different SQL queries. It is therefore necessary to adapt the headertext as well as the column width depending on the SQL query. Access to the grid via javascript works; However, I have no idea how I can access the header text....
javascript:
var grid = eo_GetObject("Grid3"); //Get the grid object var _column = grid.getColumn(0); //works... _column.setHeaderText='applikation'; //setHeaderText Method not supportet _column.setWidth(100); //works...
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,229
|
Hi,
Currently we do not have this function. We will add it in our next build and update here again when the new build is available.
Thanks!
|
|
Rank: Advanced Member Groups: Member
Joined: 6/17/2010 Posts: 35
|
What do you think the build will be available?
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,229
|
It will be available either this week or next week.
Thanks!
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,229
|
Hi, This is just to let you know that the new build is available now on our download page. This build added this function: https://www.essentialobjects.com/doc/jsdoc.public.web.gridcolumn.setheadertext.aspxPlease take a look and let us know how it goes. Thanks!
|
|
Rank: Advanced Member Groups: Member
Joined: 6/17/2010 Posts: 35
|
I can not test it yet because the license key for the build is invalid. There is the message "A license key is provided but is not valid for this build.". I'll let you know as soon as I have a valid key. Thanks!
|
|