:: Forum >> Version 2 >>

Multi-lines Header

More information on this topic is available in the documentation section: /aw.grid.header/.

I just couldn't find any subject in the forum in solving the problem of
multi-lines of header in version 2.0.

Any advice?

Kevin
Saturday, March 18, 2006
*********************************************************************
    
multiple headers (only with AW.Grid.Extended)
********************************************************************/

    
obj.setHeaderCount(2);


/********************************************************************
    header text (js array)
********************************************************************/

    
obj.setHeaderText(myHeaders);    // js array (see top of this page)
    
obj.setHeaderText(["Sub 0""Sub 1""Sub 2""Sub 3""Sub 4"], 1); // js array for the second row of headers


/********************************************************************
    header text (static value)
********************************************************************/

//    obj.setHeaderText("text");        // assign the same text to all headers
//    obj.setHeaderText("text", 1);    // header in the column 1
//    obj.setHeaderText("text", 1, 1);    // header in the column 1, row 1


 
Hope this work well for you :)
Sanjay Sharma
Tuesday, May 16, 2006



This topic is archived.

Back to /aw.grid.header/

Documentation:

Forum search