Author Topic: How to change nested grid template as dynamic based on a drop down value.  (Read 2975 times)

VigneshVpn

  • Newbie
  • *
  • Posts: 33
    • View Profile
Hi,

Recently i tried to change the detail model based on the dropdown selection, its changed when i try to expand the detail only, not on the value changes. how do i handle this problem?

I added a JsFiddle link below,

https://jsfiddle.net/ecbf1kyw/36/

Plz help on this thanks,

Thanks in Advance,
Vignesh Pradeepan.

VigneshVpn

  • Newbie
  • *
  • Posts: 33
    • View Profile
Re: How to change nested grid template as dynamic based on a drop down value.
« Reply #1 on: November 27, 2018, 11:48:26 am »
Any guide to me on this?

paramvir

  • Administrator
  • Hero Member
  • *****
  • Posts: 6310
    • View Profile
Re: How to change nested grid template as dynamic based on a drop down value.
« Reply #2 on: December 03, 2018, 02:34:08 pm »
I couldn't see any dropdown in your jsfiddle.

VigneshVpn

  • Newbie
  • *
  • Posts: 33
    • View Profile
Re: How to change nested grid template as dynamic based on a drop down value.
« Reply #3 on: December 03, 2018, 03:11:19 pm »
The Function column is the dropdown. if you click it twice you will able see that.

paramvir

  • Administrator
  • Hero Member
  • *****
  • Posts: 6310
    • View Profile
Re: How to change nested grid template as dynamic based on a drop down value.
« Reply #4 on: December 04, 2018, 12:58:22 pm »
you could try use detailModel.cache: false or manually remove the detail child ( rowData.pq_detail.child ) before switching the detailModel template.