-
1. Re: Two questions about future plans with RichFaces datables.
vi_mahe_ka1 Nov 22, 2011 6:28 AM (in response to keruke)Hi,
you can drag and drop table columns using extended datatable
http://balusc.blogspot.com/2006/06/using-datatables.html#SelectRowByRadioButton
Regards
Mahesh
-
2. Re: Two questions about future plans with RichFaces datables.
keruke Nov 22, 2011 2:40 PM (in response to vi_mahe_ka1)Hello Mahesh,
thanks for you response and usefull links, but I am talking about something more integrated with RichFaces tables. In case of drag and drop, RichFaces tables come already with this capability enabled but I cannot find a easy method to disable them.
For example, how can I disable the drag and drop for the columns of a extended table?
Searching in the user forum I have found this jira link:
https://issues.jboss.org/browse/RF-7925
related with RichFaces 3 but I cannot found any related with RichFaces 4. I have found this work around
http://community.jboss.org/wiki/ExtendedDataTableHowToOffColumnDragAndDrop
but in doesn't work in my case.
In case of radio inputs, the article in balusc.blogspot.com is very useful, but I think that it is more oriented to no ajax applications. For example, if the table has a sort column, after sort it, the last selection is lost. For example, if you change the selected row in your backed bean and after the table is rendered, the radio to which it belongs the backed bean row id should be selected, and all integrated with styles and selections of richFaces tables.
Maybe a more integrated radio input with the current RichFaces tables and selections could be interesting and I don't know if exists future plans to integrate that capabilities with the new version of RichFaces.
-
3. Re: Two questions about future plans with RichFaces datables.
keruke Nov 22, 2011 4:05 PM (in response to keruke)About radio in tables, I answer to myself.
There is a component in the sambox that it is for that purpose http://community.jboss.org/thread/167173, maybe in the future will be intergated in the RichFaces tables.