Thanks for the pointer. I saw it and follow similar pattern, but it does 
not give you flexible approach to styling differently both rows in the 
header. 

you also wrote: "[...]  Well I ended up solving this by adding separate 
SearchBoxes *above* the CellTable-Header and using CSS to align them to the 
Header.  [...]" which I am trying to avoid. 
Imagine you provide different language for your app and table headers 
width/height will change. So css might not work in this case. 

Thanks,
Kris

On Tuesday, March 13, 2012 3:37:46 PM UTC, Ümit Seren wrote:
>
> You can check out this stackoverflow thread for some pointers:
>
> http://stackoverflow.com/questions/6422896/celltable-with-custom-header-containing-searchbox-and-focus-problem
>  
>
>
> On Tuesday, March 13, 2012 1:38:05 PM UTC+1, kretel wrote:
>>
>> What I might actually need is to get two rows inserted into theader in 
>> CellTable. 
>> So the header look like this: 
>>
>> |          | header1 - label1 | header2 - label1 |
>> +----------+------------------+------------------+
>> | label    | header1 - label2 | header2 - label2 |
>> +----------+------------------+------------------+
>> | foobar   |  1               | image            |
>>
>> Is there a way to add an extra header row to a CellTable after adding a 
>> column with one header? 
>>
>> Thanks,
>> Kris
>>
>>
>>
>> On Tuesday, March 13, 2012 10:31:59 AM UTC, kretel wrote:
>>>
>>> Hi,
>>>
>>> I am trying to build a custom header which have two labels in a header 
>>> and both are styled differently. For example: 
>>>
>>> | header1 - label1 | header2 - label1 |
>>> +-----------------------+------------------------+
>>> | header1 - label2 | header2 - label2 |
>>>
>>> Label1 in headers needs to be styled differently than label2. Further 
>>> label2 needs to be able to trigger column sort on a table. 
>>>
>>> I was looking at examples how to build AbstractCells but still can't see 
>>> how this can be applied to header. 
>>>
>>> Does anyone come up with an approach to build Custom header? 
>>>
>>> Thanks,
>>> Kris
>>>
>>>
>>>
>>>

-- 
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/-/PToCkdTcDqgJ.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.

Reply via email to