how to create columns with common header in data grid.

72 views
Skip to first unread message

shray rawat

unread,
Dec 27, 2012, 6:14:27 AM12/27/12
to google-we...@googlegroups.com



===============================
see the attached files for this question.
I AM HAVING A,B,C AS MAIN HEADERS AND D,E,F,G AS THE SUB HEADERS UNDER C.

how can i create these columns in data grid

Jens

unread,
Dec 27, 2012, 7:00:14 AM12/27/12
to google-we...@googlegroups.com
If it is possible then maybe via a custom HeaderBuilder. You probably have to subclass DataGrid in order to provide a custom HeaderBuilder.


-- J.

Mike Dee

unread,
Dec 28, 2012, 7:17:56 PM12/28/12
to google-we...@googlegroups.com
I wanted something similar but did it differently. I created a CellTable with just a header row above another CellTable.  The top CellTable had an extra header and nothing else.

Andrea Boscolo

unread,
Dec 29, 2012, 7:31:44 AM12/29/12
to google-we...@googlegroups.com
Have a look at http://showcase3.jlabanca-testing.appspot.com/#!CwCustomDataGrid and see the source (maybe some classe have been renamed, but you got the point).
Reply all
Reply to author
Forward
0 new messages