I am using koGrid in my web page. Everything is works fine in Chrome, but when it comes to Fire fox and safari the Column reordering is not working. I had written following code: in js file
self.gridOptions = {
data: self.reportData,
columnDefs: [
{ field: 'Invoice', displayName: 'Month' },
{ field: 'ContactName', displayName: 'Date' },
{ field: 'DueDate', displayName: 'Due Date' },
{ field: 'TranDate', displayName: 'Tran Date' },
{ field: 'BOLNumber', displayName: 'BOL#' },
{ field: 'TranID', displayName: 'Tran Number' },
{ field: 'PRONumber', displayName: 'PRO#' },
{ field: 'ReferenceNo', displayName: 'REF#' },
{ field: 'Charge', displayName: 'Charge' },
{ field: 'OpenAmount', displayName: 'Open Amount' },
{ field: 'Balance', displayName: 'Balance' },
{ field: 'TranType', displayName: 'tranType' }
]
};
HTML:
<div class="gridStyle" data-bind="koGrid: gridOptions"></div>
My application is a SPA application using durandal, and Knockout.
Is there any thing that I have to add in configuration?
Please help.
thanks.