我现在的项目要使用dhtmlxconnection for java组件,有几个问题想问大家?
1.打开的数据连接,组件是否自动关闭
2.如果动态传入查询参数
eg.  
    页面------------------------
      mygrid.loadXML("a.do?id="+uid);
    处理
      ...
      c.rander_sql("select .. from .. where id="+uid);
这样处理后可以查询到内容,但修改功能失效了,请问如何更改
3.有使用过该组建的朋友请给我一些关于这个组件的文档或者建议。

解决方案 »

  1.   

    关于这个问题我自己给出答案吧,我发了e-mail给dhtmlx的客服,2天后得到了回复
    原文如下-------------------------------
    Hi, 1) loadXML method loads items from server and adds them in tree. So probably you need to delete the previous structure to insert the new one: tree.deleteChildItems(0);tree.loadXML(url); or you can use smartRefreshBranch method: tree.smartRefreshBranch(0,url);  2) Connection is closed automatically. But you can also close it manually (after render_table method call). Please use our Forum to ask questions about dhtmlx:http://forum.dhtmlx.com/ If you would like to receive official support, please purchase the license and log in to the support system here:http://support.dhtmlx.com/   Best regards,DHTMLX Teamwww.dhtmlx.com