Thread ID: |
Created: |
Updated: |
Platform: |
Replies: |
150690 | Jan 16,2020 08:55 AM UTC | Jan 20,2020 07:34 AM UTC | JavaScript - EJ 2 | 3 |
![]() |
Tags: Grid |
var grid = new ej.grids.Grid({
columns: [
{ field: 'OrderID', headerText: 'Order ID', width: 120, textAlign: 'Right' },
{ field: 'CustomerName', headerText: 'Customer Name', width: 150, disableHtmlEncode:false,
valueAccessor: valueAccess },
. . . . .
]
});
grid.appendTo('#Grid');
function valueAccess(field, data, column) {
return '<span>CustomerName</span>'
}
|
This post will be permanently deleted. Are you sure you want to continue?
Sorry, An error occured while processing your request. Please try again later.
This page will automatically be redirected to the sign-in page in 10 seconds.