Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Sanju Thomas on Jun 05, 2009 13:56
open dhtmlx forum
can we move the presentation to xml ?

Does DHTMLX supports having the presentation inside the xml itslef ? Like hader, style, size and align can be moved to xml ?

This allows the programmer to let the user selectes columns he wanted in a grid.
Answer posted by Support on Jun 08, 2009 01:31
Answer posted by Support on Jun 08, 2009 01:32
Answer posted by Sanju Thomas on Jun 08, 2009 23:31
Thanks a  lot, its really a nice feature.
Answer posted by Sanju Thomas on Jun 08, 2009 23:34

Is there a way I can attachHeader using XML ?

Like attaching a select_filter or text_filter.

Answer posted by Alex (support) on Jun 09, 2009 00:48

Hello,

you can call grid configuration methods from the xml. For example it can be done as follows:

<rows>
  <head>
    <beforeInit>
      <call command="attachHeader">
        <param>column 1,column 2,...,column N</param>
      </call>
     </beforeInit>
     <column width="..." ...>...</column>
    ...
   </head>

...