Re: how to create columns with common header in data grid.

2012-12-29 Thread Andrea Boscolo
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).

On Thursday, December 27, 2012 12:14:27 PM UTC+1, shray rawat wrote:


 https://lh5.googleusercontent.com/-SA2dPCsyiG8/UNwthugGWXI/A2c/l1qY23f-GYo/s1600/TABLE.JPG


 ===
 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


-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-web-toolkit/-/ar6pEEPeynYJ.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: how to create columns with common header in data grid.

2012-12-28 Thread Mike Dee
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.

On Thursday, December 27, 2012 3:14:27 AM UTC-8, shray rawat wrote:


 https://lh5.googleusercontent.com/-SA2dPCsyiG8/UNwthugGWXI/A2c/l1qY23f-GYo/s1600/TABLE.JPG


 ===
 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


-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-web-toolkit/-/VQNneE7qAF0J.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: how to create columns with common header in data grid.

2012-12-27 Thread Jens
If it is possible then maybe via a custom HeaderBuilder. You probably have 
to subclass DataGrid in order to provide a custom HeaderBuilder.

http://google-web-toolkit.googlecode.com/svn/javadoc/latest/com/google/gwt/user/cellview/client/HeaderBuilder.html

-- J.

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-web-toolkit/-/tIm_RnYhP1cJ.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.