Javascript Default Sorting Column And Sort Icon In P Table Stack

Javascript Default Sorting Column And Sort Icon In P Table Stack I have p table structure like this. by default when page loads it should display a date column sorted along with sorticon in up arrow. (asc).when i click the column it happens. When we specify a default sorting order for a p table using sortorder property, the default sorting icon is not displayed once the table loads. although the data is sorted correctly and the column is highlighted properly, the sorting icon is not displayed to indicate the sortorder (i.e. ascending or descending).

Javascript Default Sorting Column And Sort Icon In P Table Stack The order parameter is an array of arrays where the first value of the inner array is the column to order on, and the second is 'asc' (ascending ordering) or 'desc' (descending ordering) as required. order is a 2d array to allow multi column ordering to be defined. the table below is ordered (descending) by the age column. So i have a table where i have column sorting and want to have a default icon to indicate that sorting is possible. the problem is that the app also renders a default icon on the row selection column. i´ve tried display: none on the first of type but this only results in removing all of the icons.

Jquery Plugin For Multi Column Table Sorting Tablesort Js Free

Reactjs React Table Switch Sorting Icon Stack Overflow
Comments are closed.