You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by Santhosh K S <ks...@gmail.com> on 2007/05/01 02:39:18 UTC

JSF DataTable

Hi All,

We have a requirement to move the row up and down based on the user
selection. I need to update the DataModel of the tomahawak datatable. How
can I achieve this. Any pointers will be appreciated.

Thanks,

Santhosh

Re: JSF DataTable

Posted by Dennis Byrne <de...@dbyrne.net>.
Can we please move this conversation to users@myfaces.apache.org ?

On 5/1/07, Cagatay Civici <ca...@gmail.com> wrote:
>
> Would'nt a list instead of a hacked datamodel be better? I mean a list is
> ordered so when you click to move, get the selected index from the datatable
> and do a swap it in the list by the next or previous one.
>
> Also it would be better to use the users list instead of dev list since
> there's more chance to get replies there.
>
> On 5/1/07, Santhosh K S <ks...@gmail.com> wrote:
> >
> > Hi All,
> >
> > We have a requirement to move the row up and down based on the user
> > selection. I need to update the DataModel of the tomahawak datatable. How
> > can I achieve this. Any pointers will be appreciated.
> >
> > Thanks,
> >
> > Santhosh
> >
>
>


-- 
Dennis Byrne

Re: JSF DataTable

Posted by Cagatay Civici <ca...@gmail.com>.
Would'nt a list instead of a hacked datamodel be better? I mean a list is
ordered so when you click to move, get the selected index from the datatable
and do a swap it in the list by the next or previous one.

Also it would be better to use the users list instead of dev list since
there's more chance to get replies there.

On 5/1/07, Santhosh K S <ks...@gmail.com> wrote:
>
> Hi All,
>
> We have a requirement to move the row up and down based on the user
> selection. I need to update the DataModel of the tomahawak datatable. How
> can I achieve this. Any pointers will be appreciated.
>
> Thanks,
>
> Santhosh
>