Open miowng opened 7 years ago
Can i combine two data from database to display in one column? because i can make it at datatable,but cant work at bootgrid im using dataSrc exp:
"dataSrc": function (jsonData) { for ( var i=0, len=jsonData.data.length ; i<len ; i++ ) { jsonData.data[i][1] = jsonData.data[i][1]+jsonData.data[i][4]; }
http://www.jquery-bootgrid.com/Documentation#formatters
You can use a formatter to place arbitrary data into a column.
Can i combine two data from database to display in one column? because i can make it at datatable,but cant work at bootgrid im using dataSrc exp: