SearchBuilder Depht Limit

SearchBuilder Depht Limit

JochenKJochenK Posts: 55Questions: 10Answers: 0

Link to test case:
https://live.datatables.net/xehurofe/1/edit

Despite the default depthLimit: 1, I can create multiple sub groups.

Did I misunderstood the use of depthLimit?

Replies

  • kthorngrenkthorngren Posts: 21,449Questions: 26Answers: 4,975
    edited October 16

    I think the subgroup is a condition within the top group. Setting searchBuilder.depthLimit to 2 allows me to add a condition within/under the first level:
    https://live.datatables.net/xehurofe/2/edit

    With your test case there is not an option ((right arrow) to add a sub group after click Add Condition:

    Kevin

  • JochenKJochenK Posts: 55Questions: 10Answers: 0

    Ahhh... now I understood the use of depth. After entering a first condition (with redraw the dataTable) and further clicking on "Add Condition" shows an right arrow for sub group.

    Thanks!

Sign In or Register to comment.