Author Topic: cannot read property children of null  (Read 2595 times)

ruchabhutada

  • Newbie
  • *
  • Posts: 10
    • View Profile
cannot read property children of null
« on: February 29, 2016, 07:18:49 pm »
I m using row detail hierarchy. but i m not getting detail model display. I have written var colM and separately declaring var data to it. And in dataModel, i added 'data: data', . Similarly, I have added var childData for gridDetailModel and put 'data:childData' into it. and if I write location: remote or local in both the places, it only shows main grid and not the detailModel. But, if I write type:"detail" in colM, it gives an error, says cannot read property 'children' of null. Remaining is everything ok in code.I have verified from "http://paramquery.com/demos/detail" this. Actually I m not getting "ui-icon-triangle-1-e" this symbol in main grid so that I can expand it to see it detail grid. If i write "type: detail" , and location is remote i both the places, it says "no rows to display". I m working on this from last 5days. Please help me.