You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@myfaces.apache.org by yazid <sm...@yahoo.fr> on 2007/01/03 11:45:31 UTC
[Tobago] How to select rows in sheet ....
without inserting a reload facet.
You should configure freq to 1s, for having a quasi-immediate selection in
server side, but this facet is very time consumming and I've two sheet in my
page (one containing a result serach and the second containing the selected
rows from the first);
Please Help;
--
View this message in context: http://www.nabble.com/-Tobago--How-to-select-rows-in-sheet-....-tf2912753.html#a8138623
Sent from the MyFaces - Users mailing list archive at Nabble.com.
Re: [Tobago] How to select rows in sheet ....
Posted by MRajesh <mr...@imantras.com>.
Hi,
Each row in the sheet has an id like this "sheetid_data_tr_rownumber" .
Use Tobago.element(rowId) method to get a reference to the row which you
want to select. Then call
Tobago.addCssClass(rowToBeSelected,"tobago-sheet-row-selected") method.
After that you must set value for an hidden field which holds the currently
selected row. Hidden field will have id like this "sheetid:selected". Use
Tobago.element(hiddenId) and set value for this hidden field to the
rownumber which you want to be selected.
Thanks & Regards,
Rajesh.M
iMantras India Pvt.Ltd.
Chennai.
yazid wrote:
>
> Thanks Bern;
> I already use the lik to display the row details in another panel;
> I've some button (add, addAll,Delete...) to transfert rows between the two
> sheet...
> I've tried the sheetStateListener , but action for this.
>
>
> Bernd Bohmann wrote:
>>
>> Hello,
>>
>> you can add a link to the table row. If the link is pressed this
>> selection would be copy to the second table. Maybe this is a possible
>> solution.
>> Please search the mailing list for some answer about
>> "get current row from a link in a sheet"
>>
>> Regards
>>
>> Bernd
>>
>> yazid wrote:
>>> Exactly, I've to select one or many rows in one sheetand insert them
>>> immediatly in the second;
>>>
>>>
>>> Bernd Bohmann wrote:
>>>> Hello Yazid,
>>>>
>>>> you want to select one row in the first sheet and immediate add the
>>>> selection to the second sheet?
>>>>
>>>> Regards
>>>>
>>>> Bernd
>>>>
>>>> yazid wrote:
>>>>> without inserting a reload facet.
>>>>> You should configure freq to 1s, for having a quasi-immediate
>>>>> selection
>>>>> in
>>>>> server side, but this facet is very time consumming and I've two sheet
>>>>> in
>>>>> my
>>>>> page (one containing a result serach and the second containing the
>>>>> selected
>>>>> rows from the first);
>>>>> Please Help;
>>>>
>>>
>>
>>
>
>
--
View this message in context: http://www.nabble.com/-Tobago--How-to-select-rows-in-sheet-....-tf2912753.html#a8156599
Sent from the MyFaces - Users mailing list archive at Nabble.com.
Re: [Tobago] How to select rows in sheet ....
Posted by yazid <sm...@yahoo.fr>.
Thanks Bern;
I already use the lik to display the row details in another panel;
I've some button (add, addAll,Delete...) to transfert rows between the two
sheet...
I've tried the sheetStateListener , but action for this.
Bernd Bohmann wrote:
>
> Hello,
>
> you can add a link to the table row. If the link is pressed this
> selection would be copy to the second table. Maybe this is a possible
> solution.
> Please search the mailing list for some answer about
> "get current row from a link in a sheet"
>
> Regards
>
> Bernd
>
> yazid wrote:
>> Exactly, I've to select one or many rows in one sheetand insert them
>> immediatly in the second;
>>
>>
>> Bernd Bohmann wrote:
>>> Hello Yazid,
>>>
>>> you want to select one row in the first sheet and immediate add the
>>> selection to the second sheet?
>>>
>>> Regards
>>>
>>> Bernd
>>>
>>> yazid wrote:
>>>> without inserting a reload facet.
>>>> You should configure freq to 1s, for having a quasi-immediate
>>>> selection
>>>> in
>>>> server side, but this facet is very time consumming and I've two sheet
>>>> in
>>>> my
>>>> page (one containing a result serach and the second containing the
>>>> selected
>>>> rows from the first);
>>>> Please Help;
>>>
>>
>
>
--
View this message in context: http://www.nabble.com/-Tobago--How-to-select-rows-in-sheet-....-tf2912753.html#a8150634
Sent from the MyFaces - Users mailing list archive at Nabble.com.
Re: [Tobago] How to select rows in sheet ....
Posted by Bernd Bohmann <be...@atanion.com>.
Hello,
you can add a link to the table row. If the link is pressed this
selection would be copy to the second table. Maybe this is a possible
solution.
Please search the mailing list for some answer about
"get current row from a link in a sheet"
Regards
Bernd
yazid wrote:
> Exactly, I've to select one or many rows in one sheetand insert them
> immediatly in the second;
>
>
> Bernd Bohmann wrote:
>> Hello Yazid,
>>
>> you want to select one row in the first sheet and immediate add the
>> selection to the second sheet?
>>
>> Regards
>>
>> Bernd
>>
>> yazid wrote:
>>> without inserting a reload facet.
>>> You should configure freq to 1s, for having a quasi-immediate selection
>>> in
>>> server side, but this facet is very time consumming and I've two sheet in
>>> my
>>> page (one containing a result serach and the second containing the
>>> selected
>>> rows from the first);
>>> Please Help;
>>
>
Re: [Tobago] How to select rows in sheet ....
Posted by yazid <sm...@yahoo.fr>.
Exactly, I've to select one or many rows in one sheetand insert them
immediatly in the second;
Bernd Bohmann wrote:
>
> Hello Yazid,
>
> you want to select one row in the first sheet and immediate add the
> selection to the second sheet?
>
> Regards
>
> Bernd
>
> yazid wrote:
>> without inserting a reload facet.
>> You should configure freq to 1s, for having a quasi-immediate selection
>> in
>> server side, but this facet is very time consumming and I've two sheet in
>> my
>> page (one containing a result serach and the second containing the
>> selected
>> rows from the first);
>> Please Help;
>
>
--
View this message in context: http://www.nabble.com/-Tobago--How-to-select-rows-in-sheet-....-tf2912753.html#a8148480
Sent from the MyFaces - Users mailing list archive at Nabble.com.
Re: [Tobago] How to select rows in sheet ....
Posted by Bernd Bohmann <be...@atanion.com>.
Hello Yazid,
you want to select one row in the first sheet and immediate add the
selection to the second sheet?
Regards
Bernd
yazid wrote:
> without inserting a reload facet.
> You should configure freq to 1s, for having a quasi-immediate selection in
> server side, but this facet is very time consumming and I've two sheet in my
> page (one containing a result serach and the second containing the selected
> rows from the first);
> Please Help;