This is a migrated thread and some comments may be shown as answers.

calling Muliple grids on tree view

0 Answers 42 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Divya
Top achievements
Rank 1
Divya asked on 23 Jun 2012, 08:15 AM
Hello,

I am very new in kendo web. I am facing problem when i have trying to populate multiple grid with tree view.
i have created a tree view with 10-12 nodes. now i need to call different grid on each node.
please help or suggest an example.

my code is here
function buildEntitiesTree()
        {
            $("#entityTreeView").remove();
            var urlFetchEntityTree=baseUrl + 'index.php/home/fetchEntityRecords/';
            $.getJSON(urlFetchEntityTree,function(jsonEntityTree){
            
            function onEntitySelect(e) {
                var selectedId = $(e.node).find(".entity-item-id").val();
                $("#hdnSelectedEntTreeId").val(selectedId);
                var n = $("#hdnSelectedEntTreeId").val();
          
                  if (n == 3) {
                  EnquiryEditgrid(); ---- I need to call Grid 1
                  }
                  else if (n == 14) {
                  Ordersgrid();  I need to call Grid 2
                  }
                   else if (n == 11) {
                }
                I need to call Grid 3
                   
             }
  Please help what code i should write to call the different grids.

Regards
Divya Jha

No answers yet. Maybe you can help?

Tags
Grid
Asked by
Divya
Top achievements
Rank 1
Share this question
or