Categories | Question details Back To List | ||
Link tree to grid cell using server side XML Many times I create my grid "structure" using server side XML. For example lets say I wanted to add a combo to a cell..When I generate my XML it would look something like this: header("Content-type: application/xhtml+xml"); $xml = "<?xml version='1.0' encoding='utf-8'?>"; $xml = "<rows>"; $xml = "<head>"; $xml = "<column width='100' align='left' type='coro' sort='str' id='comboSample'>Combo Sample" . [PHP Code here to create combo] . "</column>"; $xml = "</head>"; $xml = "</rows>"; echo $xml; Is it possible to link a tree to a grid cell on the "server" side as well or can it only be done on the client side? Answer posted by dhxSupport on Apr 17, 2009 01:14 If you want link tree to grid as cell editor, it possible to do only in the client side. Please see example here http://dhtmlx.com/docs/products/dhtmlxGrid/samples/interaction_other_components/pro_linked_tree.html. If you want use treeGrid, you can define treeGrid structure in the server side. Please see more information here http://dhtmlx.com/docs/products/dhtmlxGrid/doc/guide.html#grid_dloadTreeGrid. All of these extentions is a part of PRO version. |