paramquery / grid

jQuery grid plugin based on jQueryui widget design
paramquery.com
GNU General Public License v3.0
543 stars 255 forks source link

how to solve cannot read property 'children' of null error in detailModel? #95

Open ruchabhutada opened 8 years ago

ruchabhutada commented 8 years ago

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.

ruchabhutada commented 8 years ago

Can you please tell me how to resolve this ? Where am I wrong?

paramquery commented 8 years ago

Is it possible for you to share a jsfiddle. http://jsfiddle.net/pb5kpred/

ruchabhutada commented 8 years ago

plz check : http://jsfiddle.net/ruchabhutada/pb5kpred/2/

ruchabhutada commented 8 years ago

??

ruchabhutada commented 8 years ago

can you reply me? I have posted it on jsfiddle as u said my work is stopped because of this.

karan-chauhan commented 6 years ago

Did you solve this issue?

paramquery commented 6 years ago

It's resolved in v2.4.1

On Thu, Feb 8, 2018 at 4:08 PM, karan-chauhan notifications@github.com wrote:

Did you solve this issue?

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/paramquery/grid/issues/95#issuecomment-364071654, or mute the thread https://github.com/notifications/unsubscribe-auth/ADAG4yqTAx8INiFOcB1CzbapdRLSfOhgks5tSs6fgaJpZM4HlGTb .

ruchabhutada commented 6 years ago

Hello sir, Thank you for your kind reply. I have not solved this issue. I will check that. Thank you..!