3.0 beta 2

How to access header

Guys

Here is my problem, I want to select all column item when I click one column header. So anyway I can access header in AW?
Thanks a lot.

/Jack
Jack
July 6,
hi i am also looking for the same solution as i wish to generate on click event on header programattiaclly. plz help
saurabh gandhi impetus
July 4,
obj.onHeaderClicked = function(event, col,row){
//write here
for(i=0;i<this.getRowCount();i++)
alert(this.getCellText(col, i)};

This works out and alerts all data from grid for a particular header
Thanks
Vikramaditya Garg
Fidelity investments
Vikramaditya Garg
July 11,
Here is my problem, I want to select dropdown value thru ajax it will be fill the grid but i want change Header caption.

Thanks a lot.
January 30,
I want to change the headertext,but coud not with "setHeaderText",must be refresh the obj after.
thanks a lot.


Huanghui
February 2,
Yes, you have to refresh the header explicitly -

// AW.UI.Grid
obj.setHeaderText("new", 0);
obj.getHeaderTemplate(0).refresh();


or

// AW.Grid.Extended
obj.setHeaderText("new", 0, 0);
obj.getHeaderTemplate(0, 0).refresh();

Alex (ActiveWidgets)
February 2,

This topic is archived.

See also:


Back to support forum

Search

Version 2

Looking for AW 2.6 ?
The old site is here.