Hi all,

I am facing some problems with table selection if I reorder the table by
clicking on one column. That moment on, the selected rows are not the
expected. For example, if I have this table:

letter  | name
---------------------
a        | paco
b        | manolo
c        | lucas

After reordering by name ascendent, if I select the third row, do not obtain
letter='a', name='paco' but letter='c' , name='lucas'. Have any of you
experienced this problem? I have been googling, but not found similar
issues. Any hints?

I am using Trinidad 1.0.3, MyFaces 1.1.5 and JBoss Seam 1.2.1.

My table is defined as follows:

<tr:table id="tablaResultados"
                            value="#{beanDatos.listaResultados}"
                            var="fila"
                            rows="10"
                            rowBandingInterval="1"
                            columnBandingInterval="0"
                            selectedRowKeys="#{beanDatos.estadoDeSeleccion}"
                            binding="#{beanDatosBinding.tabla}"

                            rowSelection="multiple" width="100%">

                            <tr:column sortable="true" headerText="letter"
                                                    sortProperty="letter"
align="end">
                                                    <tr:outputText value="#{
fila.letter}" />
                            </tr:column>
                            <tr:column sortable="true" headerText="name"
                                                    sortProperty="name"
align="end">
                                                    <tr:outputText value="#{
fila.name}" />
                            </tr:column>
 </tr:table>

Thanks in advance,

- - Rafa

Reply via email to