|
Title: rowStyler change background if equal to text Post by: kavvson on September 20, 2014, 09:10:58 AM Code: if (row.return == "Not Returned"){The thing is I paste from my php file a number 0,1,2 or I can type a string but when I would like to paste the numbers only I will need to transform them to text Code: ----------+-------------------- transform to Code: ----------+-------------------- Any tips? Title: Re: rowStyler change background if equal to text Post by: stworthy on September 21, 2014, 05:02:34 PM Use the column's formatter function and you will be able to define the displaying value for a specified column. Please refer to the code below:
Code: $('#dg').datagrid({ |