> 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