Categories | Question details Back To List | ||||||||||||||
:: pepysDHTMLX :: mygrid.splitAt I have a grid with this header: $strXML .= "<head>"; $strXML .= "<column type='ro' width='120' id='categorie'>1</column>"; $strXML .= "<column type='ro' width='180' id='subcategorie'>1</column>"; $strXML .= "<column type='ro' width='180' id='subcategorie'>3</column>"; $strXML .= "<afterInit>"; $strXML .= "<call command='attachHeader'><param><![CDATA[Categorie,Subcategorie,Produs]]></param></call>"; $strXML .= "</afterInit>"; $strXML .= "</head>"; and I use this: mygrid.splitAt(2); When I open the page in browser, from the first line of header is shown all the columns: 1, 2, 3, but in the 2nd line of header I can see just the text from the 3rd column - "Produse", without "Categorie, Subcategorie". What the problem can be? Thanks.. Answer posted by dhxSupport on Jul 09, 2009 08:26 The splitAt must be executed only after defining of structure, but before data loading. You should use: $strXML .= "<beforeInit>"; $strXML .= "<call command='attachHeader'><param><![CDATA[Categorie,Subcategorie,Produs]]></param></call>"; $strXML .= "</beforeInit>"; Answer posted on Jul 13, 2009 02:28 Answer posted by pepys on Jul 13, 2009 02:31 I have a problem when I use mygrid.splitAt(2) and 2 lines header, in Windows Vista. You can see in the attached images. What is the problem? What I have to do, in order to be everything ok, on both OS? Attachments (2)
Answer posted on Jul 13, 2009 06:26 What browser do you use? Could you please send us full example where we can reproduce this issue? Answer posted by pepys on Jul 14, 2009 02:23 On XP, the matrix grid is working in any browser: IE, Firefox, Chrome. In Windows Vista, it is working just in Chrome. I can't send you right now a full example. But what have I do? Answer posted by pepys on Jul 14, 2009 02:42 I have a another problem here with mygrid.splitAt AND subgrig In the first capture image, there is the old functionality, grid and subgrid, without split. In the second image - new.jpg, you can see the split on the column no4, but the subgrid with images doesn't work anymore.. Why? And, in the image new2.jpg, there is a another problem.. Using split, when I pres on the grid header for sorting rows, you can see there the result.. I'm waiting for anser please.. Thanks Attachments (3) Answer posted by dhxSupport on Jul 15, 2009 04:20 Unfortunately we cannot reproduce this issue locally. Could you please provide sample of code you are you initialize grid? |