3.2.0

Multi-lines 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
March 18,
*********************************************************************
    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
May 16,

This topic is archived.

See also:


Back to support forum