Multiple related select lists in a custom template

Multiple related select lists in a custom template

cj1005cj1005 Posts: 142Questions: 45Answers: 1

Hi,

I have a DataTable with the Editor wrapped around it and it is loading data correctly, but now I want to use a custom template.

So, I have read how to set up a custom template from the example, but my issue is if I have a primary pulldown list in the custom template and then when an item is selected I need to dynamically update a second pulldown list, but I have no idea how to achieve this, I've read through the user guides and examples but I'm unable to find what I need.

If anyone could point me in the right direction that would be much appreciated.

I hope that makes sense.

Chris

This question has an accepted answers - jump to answer

Answers

  • cj1005cj1005 Posts: 142Questions: 45Answers: 1

    If anyone has an example of this working that would be really helpful ?

  • colincolin Posts: 15,237Questions: 1Answers: 2,599
    Answer ✓

    You would use dependent() for that - there's an example on that page.

    Colin

  • cj1005cj1005 Posts: 142Questions: 45Answers: 1

    Thank you, this is exactly what I'm after ?

This discussion has been closed.