-
1. Re: ExtendedDataTable - FilterText
pbaker01 Sep 27, 2008 2:01 PM (in response to pbaker01)I was able to adjust the size of the filter inputText by specifying a headerClass for the column and adding a css style with an input element specification.. However I want to use .rich-filter-input....
<rich:column id="docIssueNum" sortable="true" headerClass="extendedTableHdr" sortBy="#{item.docIssueNum}" filterBy="#{item.docIssueNum}" filterEvent="onkeyup" width="170px"> <f:facet name="header"> <h:outputText value="Issue Number" /> </f:facet> <h:inputText value="#{item.docIssueNum}" styleClass="tableTextInput" size="12" /> </rich:column>
css file:.extendedTableHdr input { width: 80px; }
I had added the following to the web.xml file:<context-param> <param-name>org.richfaces.CONTROL_SKINNING_CLASSES</param-name> <param-value>enable</param-value> </context-param>
Hoping that this would enable the use of: .rich-filter-input
What is needed to use the selector .rich-filter-input?.extendedTableHdr .rich-filter-input { width: 80px; }
-
2. Re: ExtendedDataTable - FilterText
pkawiak Sep 29, 2008 5:23 AM (in response to pbaker01)To use .rich-filter-input you need to download and build the lastest version of extDt as we have missed that in our component. Right now that class is added to the proper place and can be used to customise filter inputs.
-
3. Re: ExtendedDataTable - FilterText
pbaker01 Sep 30, 2008 4:00 PM (in response to pbaker01)Thanks pkawiak -
Does anyone know the answer to my second question above:
When I select a column header, I am presented with an option to select which columns to display. How to I add text next to the checkBox to identify the column that I am selecting/deSelecting?
Thanks in Advance...
PB -
4. Re: ExtendedDataTable - FilterText
pkawiak Oct 1, 2008 1:47 AM (in response to pbaker01)There is a 'label' attribute of the rich:column. This will be the text displayed both in the menu (hiding/showing columns) and in the grouping row.
-
5. Re: ExtendedDataTable - FilterText
pbaker01 Oct 1, 2008 10:55 PM (in response to pbaker01)"pkawiak" wrote:
There is a 'label' attribute of the rich:column. This will be the text displayed both in the menu (hiding/showing columns) and in the grouping row.
Perfect! Thank you!