How to pass a parameter to limit records?

How to pass a parameter to limit records?

mgagnemgagne Posts: 3Questions: 2Answers: 0

Again, not clear on the how to use the where clause in editor with serverside processing as true.

Basically I want to limit all ingredients to a datatable based off of a specific recipe. How can I quickly and easily use a param within a where clause to limit records based off of a specific recipe? I can do it by ->where('Batch', NULL)...but if I try to pass a param to ->where('Batch', $myparameter)..I get nothing but script output in dev toolbars... What am I missing?

Answers

  • allanallan Posts: 63,455Questions: 1Answers: 10,465 Site admin

    What are the errors? Is $myparameter undefined? Are you sending it to the server-side? If so, how?

    Thanks,
    Allan

This discussion has been closed.