- 
        1. Re: How to set datatable width?gopib Sep 18, 2009 3:05 AM (in response to scott1)Hi scott1, 
 I am sending sample code try this one ,
 code:
 ---------
 <f:facet name="header">
 <rich:columnGroup>
 <rich:column headerClass="headerGreen1">
 #{messages.selectall} |
 #{messages.clear}
 </rich:column>
 <rich:column headerClass="headerGreen1">
 <h:outputText>#{messages.id}</h:outputText>
 </rich:column>
 </rich:columnGroup>
 </f:facet>
 <rich:column align="center" width="60px">
 <h:selectBooleanCheckbox value="#{findSelections[user]}" />
 </rich:column>
 -----------------
 I think this is useful, working.
- 
        2. Re: How to set datatable width?scott1 Sep 18, 2009 10:17 AM (in response to scott1)Thanks for the reply. I have tried column group before and it works. But if I use column group then the sorting feature is not working. thats why I want to set the width by not using columngroup. Is there any other way to set the width? 
 Thanks.
- 
        3. Re: How to set datatable width?nbelaevski Sep 18, 2009 4:03 PM (in response to scott1)Hi, 
 Try using "columnsWidth" attribute
- 
        4. Re: How to set datatable width?scott1 Sep 21, 2009 11:01 AM (in response to scott1)I tried columnswidth attribute but it didn't work. do you have any datatable samples with different column sizes (not using the columnsgroup tag) that you can share? 
 Thanks.
- 
        5. Re: How to set datatable width?ilya_shaikovsky Sep 22, 2009 3:41 AM (in response to scott1)<rich:column sortBy="#{cap.state}" width="400px"><rich:column sortBy="#{cap.name}" width="500">
 both definitions just works for me at 3.3.2 snapshot.
- 
        6. Re: How to set datatable width?scott1 Sep 28, 2009 2:59 PM (in response to scott1)I fixed the issue by setting the width as follows. 
 <rich:column>
 <f:facet name="header">
 <h:outputText value="School Code" style="font-weight:bold; width:200px;"/>
 </f:facet>
 <h:outputText value="#{dev.schoolCode}" />
 </rich:column>
 Basically I'm setting the width at the header facet level instead of rich:column tag level.
 btw, I'm using Richfaces 3.2.1 GA version.
 thanks for all the help.
 
     
     
    