daniel-nagy / md-data-table

Material Design Data Table for Angular Material
MIT License
1.9k stars 520 forks source link

Sorting empty cells #561

Closed muscaiu closed 7 years ago

muscaiu commented 7 years ago

Here sorting works well:

up

But on descending order, the table displays blank rows 1-st and the data at the end. It is the same thing with every column, not just Date.

How can i make it ignore blank rows, and display real data before the blank rows?

down

The table looks like this:

    <th md-column md-order-by="datacoll">Data Colloquio</th>
     ...
    <td md-cell>{{ item.datacoll | date :'MMM dd, yyyy HH:mm'}}</td>
muscaiu commented 7 years ago

Will try another way to ask this, since i get no reply.