Closed elexea closed 7 years ago
@Elexea Use row-class-callback
prop to specify method name to be used for highlight. Sample code here.
vuetable will pass the data for the current row to that method. You inspect the data to determine what CSS class to be used for that row.
@ratiw It is working now! Thanks for quick reply! Nice work
{ name: 'expiryDate', sortField: 'expiryDate', callback: 'highlightExpired' },
As titled, try highlight some particular rows if exceed expiry date