Closed ian-pinto-vamaship closed 6 years ago
you can look at this demo: http://doc.huangsw.com/vue-easytable/app.html#/table/customColumns
thanks huangshuwei for the prompt response, formatter function did the trick. For instance in my Logistics vue based app I used
formatter: function (rowData, index, pagingIndex) {
return rowData.service === 'ocean' ? '<i class="fa fa-ship" />' : '<i class="fa fa-fighter-jet" />'
}
to conditionally display a ship or plane icon for a specific service type (ocean/air)
Need custom data like links and images as well in fields