Examples
Integrate custom sorting in a table
Integrate Custom Sort in a Table
Do you want to sort your entries with the Custom Sort directly within the Custom Table? In this post, you will find a detailed guide on the Ninox settings you need and the corresponding application code. In the following example, a task list (Child / Sub-table) is displayed in an order (Parent / Main table) as a Custom Table. With Custom Sort, the order of tasks should be set manually.
Widgets you need for this:
Ninox settings you need:
a sortId function field in the task (child)
Sorting number field in the table where the records should be sorted
sortItems text field in the order (parent)
Application Code
sortId function field in the task (Child)
sortItems text field in the order (Parent)
Insert the following code into your sortItems text field in the trigger after change.