I am creating a web application using Dojo, composed of a treeView in the left side and a Data Grid on its right. After being loaded,I want the root of the treeView to be focused and clicked, so that the content of the datagrid can be changed accordingly.
I haven’t success in doing this..
Thanks for your help
Thanks @Philippe for the clue about logic problem. Because of this clue, I am able to focus my mind by searching the error code. I found it in the defintion of query of the grid.
<table id="jurnalGrid" dojoType="dojox.grid.DataGrid" jsId="jurnalGrid" columnReordering="true" sortFields="['tanggal','kode_jurnal']" store="jurnalStore" query="{id: '*'}"I think you can guess that my query string is not correct 🙂 I still left the code from that link without changing it to suit my need. Thanks… –