Part of the initialisation of my grid sets a number format for one column:
The XML parameters for the column are:
width='70' type='edn' sort='int' align='right'
The initialisation code for the grid is:
dhxGrid = new dhtmlXGridObject('gridBidItems');
dhxGrid.setImagePath("dhx/imgs/");
dhxGrid.setSkin("light");
dhxGrid.enableSmartRendering(true);
dhxGrid.setNumberFormat("0,000.00",1);
<% If Not fEdit Then %>
dhxGrid.setEditable(false)
<% End If %>
dhxGrid.parse("<%OurResponse.Write DatagridXML%>");
dhxGrid.sortRows(0);
I am using the pro version of the files, and they are declared in the correct order (common, gridcell then grid). However when I load the page Chrome throws up an error saying: Uncaught TypeError: Object # has no method ‘setNumberFormat’.
What I am doing wrong?