SearchBuilder Depht Limit
SearchBuilder Depht Limit
JochenK
Posts: 47Questions: 7Answers: 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
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
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!