-
1. Re: Sorting and aligning within <rich:column>
cremersstijn Oct 8, 2009 3:59 AM (in response to evejeba)Is the datatable placed in a form?
-
2. Re: Sorting and aligning within <rich:column>
ilya_shaikovsky Oct 8, 2009 1:42 PM (in response to evejeba)yes, it will not works without the form as exception says.. because sorting made through Ajax request. And as any standard one Ajax requests requires form control around.
-
3. Re: Sorting and aligning within <rich:column>
evejeba Oct 9, 2009 12:09 AM (in response to evejeba)Thanks a lot
I have added <rich:dataTable> within a form, and it is getting sorted and aligned as expected. -
4. Re: Sorting and aligning within <rich:column>
evejeba Oct 14, 2009 7:27 AM (in response to evejeba)The table headers with sortBy are getting aligned at the left-top corner while other table headers(without sortBy) are getting aligned at the left-center.
<rich:dataTable>
<rich:column sortBy="#{person.name}">
<f:facet name="header">
Name
</f:facet>
<h:outputText="#{person.name}"/>
</rich:column>
<rich:column>
<f:facet name="header">
Age
</f:facet>
<h:outputText value="#{person.age}"/>
</rich:column>
</rich:dataTable>
I tried using "style="text:align: left" but there was no change when viewed in the UI. I also tried placing the in other places but there was no change as expected. I want to place the table headers at left-center. What do I have to do in order to align as expected? -
5. Re: Sorting and aligning within <rich:column>
kulasekara Oct 14, 2009 7:39 AM (in response to evejeba)Hi,
Can you please let me whether your using this sorting in Single Portlet application(Standalone Appln) or in the Integrated Portal(Multiple Portlet Application)
Kindly reply me plz.. I am facing ajax script issues in the Integrated Portal Environment.
Below link describes my issues
http://www.jboss.org/index.html?module=bb&op=viewtopic&t=162443
Thanks
Pandiyan S -
6. Re: Sorting and aligning within <rich:column>
ilya_shaikovsky Oct 14, 2009 7:44 AM (in response to evejeba).rich-table-subheadercell{
text-align:left;
}
And not additional divs required. -
7. Re: Sorting and aligning within <rich:column>
evejeba Oct 14, 2009 9:43 AM (in response to evejeba)I tried using .rich-table-subheadercell but there is no change.