Moving the selected rows from one DataTable to Other inPrimeFaces 3.2 - jsf

I'm new to PrimeFaces. In my project, I have a requirement to show 2 tables where user can select the rows and move to other datatable. In order to achieve this, can I use PickList component? If so, does it allow me show data with multiple columns. Any reference example is appreciated.

i dont think you need to use picklist. you can acheive this using primefaces drag and drop.
check it here
Drag and Drop components have special integration with data components. you can integrate drag and drop components with your datatable.
lemme know if this helps ...:)

Related

How to make certain column in primefaces datatable to be dragable

I need dragable feature to be applied on certain columns of the datatable. As of now when we use dragable datatable its applied to all columns. Can anyone have any idea how to achieve this.

Can SelectOneMenu tag in ICEfaces be editable?

I am creating a drop down list in datatable using ICEfaces now, I would like that this drop down list can either retrieve data from database, or manually entered data by user at the same time. How can I achieve this?
just use ace:comboBox. this component allows users to manually enter data

How to use <h:selectOneRadio> on more than one datatable

I'm trying to achieve the well known feature of being able to select a datatable's row by using a radio button.
I have followed this blog:
http://balusc.blogspot.com/2006/06/using-datatables.html#SelectRowByRadioButton
It works perfectly if there is one datatable on the form, but when I add another one (even if it's placed on other form), and try to select a row there, the radio button gets selected then instantly unselected. The data is correctly set on the backing bean though.
Any ideas about how to extend the results of the above blog on more than one datatable?
Thank you
That script will group all radio buttons with the same component ID in the same form. So to fix your particular problem, put the other data table in a different form or give the other <h:selectOneRadio> a different ID.

Richfaces ExtendedDataTable customization of groupings output

I'm looking to implement the ExtendedDataTable component in Richfaces.
When selecting the 'Group by' on a column, I would like to have a 'Select all' option displayed on each grouping row. This would select/un-select all checkboxes under this grouping.
I dont think there is any quick easy solution to this?
Would I need to extend the ExtendedDataTable base class somehow to add this functionality?
Edit: I got this response from the Richfaces team.
Has anybody created their own ExtendedDataTable based on the ExtendedDataTable implementation?
Is it difficult? Time consuming?
Even if somebody created a custom DataTable or other component, could you offer some advice or tips?
Here are the component creation documents.

J2ME - Dynamic Table/Grid with editable cells.

How can I create a table in which I can add rows and columns dynamically?
How can I make cells of that dynamic table editable? I.e. I should push Edit Command button and write texts or numbers in the cell.
Take a look at LWUIT which has one of the best listview implementations in J2ME
Although it is old, you may take a look at MicroCalc to get some ideas about the implementation.
It is a spreadsheet implemented in J2ME under GPL license.
AFAIK, there is no such UI control that is available in MIDP, you should either create the control or use some library such as J2ME-Polish

Resources