RowReorder

Manual ordering of rows in a grid

This option will prepare the app for manual ordering of rows in a grid. Only set this option, if you want users to be able to order grid rows by drag and drop.

Setting this option will make the following changes to your app:

  • Create a new field for the underlying datatable. The default name will be brixx_RowOrder. Type will be set to HierarchyId.

  • The View for this app will get a new column to show the RowOrder with hex value.

  • A InsertTrigger will be created for the new field. Every time a new row is inserted without a value for brixx_RowOrder an order value will be generated to place the new row at the end of already existing data.

  • If no ORDER BY is provided for the SELECT Statement, ORDER BY will use the brixx_RowOrder Field

  • All Existing data will be updated! If rows exist when saving your app brixx_RowOrder will get a default value for ordering.

Last updated

Was this helpful?