This content has been marked as final.
Show 3 replies
-
1. Re: Unable to set column Width in datatable
atdgmbh May 16, 2008 7:44 AM (in response to francis1970)via columnClasses...
so you need a style classe thats contains the size of your column and an other styleclass that contains width:auto<style> .colwidth100px{ width:100px;} .colwidthauto{ width: auto;} </style> .... ... <h:panelGrid columns="3" columnClasses="colwidthauto, colwidth100px, colwidthauto"> <h:panelGroup > .... </h:panelGroup> <h:panelGroup > ... </h:panelGroup> <h:panelGroup > ... </h:panelGroup> </h:panelGrid>
so you set the middle column width 100px and the rest ist auto adjusting... -
2. Re: Unable to set column Width in datatable
francis1970 May 16, 2008 9:48 AM (in response to francis1970)Hello, thanks for your reply!
well it still doesn't work but I found what's the problem: the header of the datatable has filter columns. If I remove the filter textfields then the column's width is changed.
Is it possible to resize the width of the filter fields ?
Thanks
Francesco -
3. Re: Unable to set column Width in datatable
joesepp1974 May 21, 2008 1:29 AM (in response to francis1970)"francis1970" wrote:
Hello, thanks for your reply!
well it still doesn't work but I found what's the problem: the header of the datatable has filter columns. If I remove the filter textfields then the column's width is changed.
Is it possible to resize the width of the filter fields ?
Thanks
Francesco
hi francesco,
have you already found a solution for resizing filter-fields?
i would need this solution too.
greetings,
joe