Login  Register

Re: Re: Re: Example Sorting Columns

Posted by Alessandro Vernet on Jan 07, 2010; 12:12am
URL: https://discuss.orbeon.com/Example-Sorting-Columns-tp974308p1008516.html

Hi Hank,

I am very glad to read that. A lot of work has been going in the  
fr:datatable component, 99.999% of which was done by Eric van der  
Vlist, so kudos to Eric. We also have just started using the  
fr:datatable in Form Runner.

Alex



On Jan 6, 2010, at 3:29 PM, Hank Ratzesberger  
<[hidden email]> wrote:

> Thank you Alex, indeed fr:datatable does about 90% of what I want
> and as a built-in component, I only had to change a few lines
> of code to use it (from what previously was a list created by
> xforms:repeat).
>
> --Hank
>
> On Dec 28, 2009, at 2:20 PM, Alessandro Vernet wrote:
>
>> Hi Hank,
>>
>> Without knowing more about your requirements ;), I'd recommend the
>> fr:datatable for this. The sorting is done "for the user"; i.e. the
>> data is not changed in the instance when users click on column
>> headers; the data just gets sorted in the "view". Does that work for
>> you?
>>
>> http://wiki.orbeon.com/forms/doc/developer-guide/xbl-existing-xbl-components/datatable
>>
>> Alex
>>
>> On Thu, Dec 17, 2009 at 11:20 AM, Hank Ratzesberger
>> <[hidden email]> wrote:
>>>
>>> Hi,
>>>
>>> I am looking for an example of sorting a table on a selected column.
>>>
>>> As simple as click on the column header to re-sort the table by the
>>> value of the column.
>>>
>>> An example in XBL would be fine.
>>>
>>> I suppose the group can reference a control instance and clicking
>>> the column header can alter the instance.
>>>
>>> A "full" version might have up/down arrow icons in the header row
>>> to sort ascending/descending.
>>>
>>> Thanks for your thoughts,
>>> Hank
>>>
>>> Hank Ratzesberger
>>> NEES@UCSB
>>> Institute for Crustal Studies,
>>> University of California, Santa Barbara
>>> 805-893-8042
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>> --
>>> You receive this message as a subscriber of the [hidden email]  
>>> mailing
>>> list.
>>> To unsubscribe: mailto:[hidden email]
>>> For general help: mailto:[hidden email]?subject=help
>>> OW2 mailing lists service home page: http://www.ow2.org/wws
>>>
>>>
>>
>>
>>
>> --
>> Orbeon Forms - Web forms, open-source, for the Enterprise
>> Orbeon's Blog: http://www.orbeon.com/blog/
>> My Twitter: http://twitter.com/avernet
>>
>> --
>> You receive this message as a subscriber of the [hidden email]  
>> mailing list.
>> To unsubscribe: mailto:[hidden email]
>> For general help: mailto:[hidden email]?subject=help
>> OW2 mailing lists service home page: http://www.ow2.org/wws
>
> Hank Ratzesberger
> NEES@UCSB
> Institute for Crustal Studies,
> University of California, Santa Barbara
> 805-893-8042
>
>
>
>
>
>
> --
> You receive this message as a subscriber of the [hidden email]  
> mailing list.
> To unsubscribe: mailto:[hidden email]
> For general help: mailto:[hidden email]?subject=help
> OW2 mailing lists service home page: http://www.ow2.org/wws


--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws
--
Follow Orbeon on Twitter: @orbeon
Follow me on Twitter: @avernet