#104657
ivanpeevski
Participant

Hi Peter,

 

1) You can use the getCellValue property of the column to set a function, which will return only the value of the property you wish to display.

Here is a simple example – codepen

 

2) One way to implement is to set getCellValue to return a string containing both properties. So if account number is “15” and name is “John”, return “15, John”. Then set the ‘template’ of the column to display only one of the values. In this way, filtering will work for both values

 

Best Regards,
Ivan Peevski

Smart UI Team
https://www.htmlelements.com/