The showcase gives an example on creating a second level header for a ListGrid using HeaderSpan. My question is, is it possible to add third or more level header to the ListGrid?
This is available as a CubeGrid feature; not yet available in SmartGWT but coming soon. This example from SmartClient shows a CubeGrid in action - if that doesn’t look like it fits your use case please let us know about what you’re trying to do. Thanks.
Thank you for your response. The CubeGrid isn’t exactly what I’m looking for. Basically, I want to create a table with headers that span across multiple columns with the addition of having more than just a two lines. Something like this table:
Hello. I am also looking for a table like the above image. The sample that was provided in smart client seems to have more or less the functionality desired, but it’s all mixed up and confusing.
Hmm.. now after a closer inspection of the example I see that you actually can have multiple headers in cube. The way it works it’s quite interesting, will it be available in smartgwt anytime soon?
I need something similar, I also checked the basic cube example. The problem with it is it lacks the sorting feature like a regular list grid. Is there a way to allow a list grid to have multiple level of header span?
I am interested in having a multi-level HeaderSpan like the one posted by arris. These posts were made a while back, is there now any support in SmartGWT for this? If not, would it be possible to extend the existing HeaderSpan functionality to achieve this? Any hints would be greatly appreciated.
Are multi-level HeaderSpans supported by ListGrid yet? Something like this:
HeaderSpan span1 = new HeaderSpan("Span One", new String[] {fieldA,fieldB,fieldC});
HeaderSpan span2 = new HeaderSpan("Span Two", new String[] {fieldD, fieldE});
HeaderSpan spanOfSpans = new HeaderSpan("Span Above One and Two", new HeaderSpan[] {span1,span2});
The CubeGrid supports multi-level header spans and is available for SmartGWT (see Showcase). The ListGrid still does not, but this feature could be sponsored.