Welcome Guest Search | Active Topics | Sign In | Register

DataGrid Options
PRO POTSDAM GmbH
Posted: Wednesday, January 18, 2017 12:24:12 PM
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...






eo_support
Posted: Wednesday, January 18, 2017 4:15:39 PM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,072
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!
PRO POTSDAM GmbH
Posted: Thursday, January 19, 2017 9:17:48 AM
Rank: Advanced Member
Groups: Member

Joined: 6/17/2010
Posts: 35
What do you think the build will be available?
eo_support
Posted: Thursday, January 19, 2017 9:19:17 AM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,072
It will be available either this week or next week.

Thanks!
eo_support
Posted: Thursday, January 19, 2017 5:10:46 PM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,072
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.aspx

Please take a look and let us know how it goes.

Thanks!
PRO POTSDAM GmbH
Posted: Friday, January 20, 2017 7:32:45 AM
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!


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.