Hello,
i have a problem with sortable option fot the columns.
When i load a table with sortable option for column = false (or removed) all is ok.
If i active sortable=true for all columns, the table is not in the good order...
Seems the default order is for first column not hidden and ascending but is not the order of the table...
I would like to have the good order of the table.
Any ideas please ?
Problem with databases and sortable option
- airsoftsoftwair
- Posts: 5333
- Joined: Fri Feb 12, 2010 2:33 pm
- Location: Germany
- Contact:
Re: Problem with databases and sortable option
The "good order" is the order of the table without sort, i would like obtain just the table in the order of the table.
I have just activated sortable= "true" for all columns and when i load the table, the order is not the same of the order of the table.
Seems by default, there is a ascending order in first column has sortable = "true" option. I don't want this sort at the load of the table if possible.
I didn't use "sortorder" option.
I have just activated sortable= "true" for all columns and when i load the table, the order is not the same of the order of the table.
Seems by default, there is a ascending order in first column has sortable = "true" option. I don't want this sort at the load of the table if possible.
I didn't use "sortorder" option.
- airsoftsoftwair
- Posts: 5333
- Joined: Fri Feb 12, 2010 2:33 pm
- Location: Germany
- Contact:
Re: Problem with databases and sortable option
Why do you set sortable="true" at all if you want to use the order of the table? If the order of items in the table already reflects the order you want to have in the listview, I don't understand why you set the sortable="true" attribute at all.
Re: Problem with databases and sortable option
It's difficult to explain.
I would like to use sortable option but i have a problem when i load a table, the order in the listview is not the order of the table...
For example, when i load a table with dates, the dates are in ascending sort by default and not in the descending sort (the order of the table in the file).
I try to do a short example soon.
I would like to use sortable option but i have a problem when i load a table, the order in the listview is not the order of the table...
For example, when i load a table with dates, the dates are in ascending sort by default and not in the descending sort (the order of the table in the file).
I try to do a short example soon.