Categories | Question details Back To List | ||
SplitAt does not display with two columns - Urgent Hi, The splitat functionality is working fine if there are more than 3 columns are present but it is not displaying the grid in a proper manner i.e. it grid is displaying only the left side of the splitted grid when there are less than 3 columns. The syntaxs' which i've tried are. In XML Response.Write "<afterInit>" Response.Write "<call command=""splitAt""><param>1</param></call>" Response.Write "</afterInit>" In js grid.init(); grid.splitat(1); grid.loadXMLString(sXML); I'm unable to acheive the functionality. I'm also making use of the 'Smartrendering', 'enableAutoHeight', 'EnableAutoWidth', 'enableColumnMove' and 'setSkin' functionalities. Does these affect the functionality in anyways? Answer posted by Support on Apr 24, 2008 06:00 >> I'm also making use of the All mentioned modes compatible with split functionality. >>The syntaxs' which i've tried are. You need to use only one call of splitAt If configuration done from XML - splitAt must be placed in XML as well If configuration defined in js code - splitAt must be called as js command. Please be sure that on moment of initialization width of first column is smaller than grid width, in other case the point of split can be placed in such manner that left part of grid will take all visible space. Answer posted on Apr 24, 2008 06:15 Thanks for the speedy relply. >>You need to use only one call of splitAt >> width of first column is smaller than grid width i have set the column size as 100. And then i have made use of the functionality 'grid.enableAutoWidth(true,500);'. I'm using the split functionality to 'grid.splitat(1)' to split at column one. >>If configuration done from XML - splitAt must be placed in XML as well
Answer posted by Support on Apr 24, 2008 06:59 I was able to reconstruct issue - it was caused by the way, how enableAutoWidth works in split mode - it takes only rows right to split in account, which may cause problem in your case. We will fix issue in next build, for now the combination of enableAutoWidth and split may be counted as incompatible. |