The properties of number columns are as follows.
- Default Properties : name, text, type, editable, visible, align, width
- Date property : format
- Only .(dot) or / (slash) or - (dash) are supported as date separators..
// Examples
let columns = [
{ name : "date1", header: { text:"date1" }, type: 'date', width : 100, align: 'right', format: 'MM.dd/yyyy' }
, { name : "date2", header: { text:"date2" }, type: 'date', width : 100 }
];
grid1 = new TbsGrid('grid1');
let options = {};
grid1.setGrid(columns, options);
grid1.setData(grid_data);