split and hidden column in a Grid


Hi Alex,



The 0th column in my grid is hidden by placing “mygrid.setColumnHidden(0,true);. I tried to make split at 2nd column by placing mygrid.splitAt(2) . Now my hidden column is getting displaied.



My need is as mentioned below.



1) the 0th column must be hidden



2)1st and 2nd column must have split.



Could you please let me know how to achieve the above?



Thanks and Regards,



Pravu Mishra.

Instead of mygrid.setColumnHidden(0,true) you should use mygrid._fake.setColumnHidden(0,true);. This methos must be called after mygrid.splitAt(2) :
mygrid.splitAt(2);
mygrid._fake.setColumnHidden(0,true);


This does not work and says mygrid._fake is undefined.



I have placced the following script files




  
  <script  src=“js/dhtmlxgridcell.js”>




   
  
  
  <script  src=“js/dhtmlxgrid_filter.js”>
  <script  src=“js/dhtmlxdataprocessor.js”>
  <script  src=“js/dhtmlxgrid_pgn.js”>




  <script  src=“js/dhtmlxcombo.js”>
  <script  src=“js/dhtmlxgrid_undo.js”>
  <script  src=“js/dhtmlxgrid_excell_combo.js”>
  <script  src=“js/dhtmlxgrid_splt.js”>



Is there any additional js file/s required to be imported?



Thanks and Regards,



Pravu Mishra.



 

Attached files are correct. Working sample will be send you by email