Blueforcer Well-Known Member Licensed User Longtime User Mar 3, 2019 #1 is it possible to define a standart sort type? For example i have a Column ID with unsorded Numbers, i want B4XTable sort it by default after create instead of manual clicking on it. Would be awesome
is it possible to define a standart sort type? For example i have a Column ID with unsorded Numbers, i want B4XTable sort it by default after create instead of manual clicking on it. Would be awesome
Erel B4X founder Staff member Licensed User Longtime User Mar 3, 2019 #2 Yes: B4X: B4XTable1.AddColumn("Name", B4XTable1.COLUMN_TYPE_TEXT).InternalSortMode = "DESC" 'or "ASC" 'or Dim c As B4XTableColum = B4XTable.AddColumn(...) c.InternalSortMode = "ASC" Set the internal sort mode field before you set the data. Upvote 0
Yes: B4X: B4XTable1.AddColumn("Name", B4XTable1.COLUMN_TYPE_TEXT).InternalSortMode = "DESC" 'or "ASC" 'or Dim c As B4XTableColum = B4XTable.AddColumn(...) c.InternalSortMode = "ASC" Set the internal sort mode field before you set the data.
Blueforcer Well-Known Member Licensed User Longtime User Mar 3, 2019 #3 Awesome, works like a charm. Thank you very much for this class! Upvote 0