Skip to navigation
Free jqgrid own date formatter
28.11.18
input format is : 20180509 and output will be : 09/05/18 colum has like: formatter: formatter112, searchoptions: { sopt: ['cn', 'eq', 'gt'] }, width:75 function formatter112(cell_value) { cell_value = cell_value.toString(); let a = []; a.push(cell_value.substr(6, 2)); a.push(cell_value.substr(4, 2)); a.push(cell_value.substr(2, 2)); return a.join('/'); }
http://www.trirand.com/jqgridwiki/doku.php?id=wiki%3acustom_formatter
Reply
Anonymous
Information Epoch 1746072667
Worse is better.
Home
Notebook
Contact us