Gabino A. de la Gala Well-Known Member Licensed User Longtime User Mar 3, 2021 #1 Can I disable the option to sort by the different columns by clicking on the title of each of them? I have a client who asks me to disable it so that the operators do not mistakenly change the order in which the orders to be prepared appear.
Can I disable the option to sort by the different columns by clicking on the title of each of them? I have a client who asks me to disable it so that the operators do not mistakenly change the order in which the orders to be prepared appear.
M Mahares Expert Licensed User Longtime User Mar 3, 2021 #2 Gabino A. de la Gala said: I have a client who asks me to disable it so that the operators do not mistakenly change the order in which the orders to be prepared appear. Click to expand... Add this snippet to your code: B4X: For Each c As B4XTableColumn In B4XTable1.Columns 'we can disable sorting of any given column c.Sortable=False Next Upvote 0
Gabino A. de la Gala said: I have a client who asks me to disable it so that the operators do not mistakenly change the order in which the orders to be prepared appear. Click to expand... Add this snippet to your code: B4X: For Each c As B4XTableColumn In B4XTable1.Columns 'we can disable sorting of any given column c.Sortable=False Next
Gabino A. de la Gala Well-Known Member Licensed User Longtime User Mar 3, 2021 #3 Mahares said: Add this snippet to your code: B4X: For Each c As B4XTableColumn In B4XTable1.Columns 'we can disable sorting of any given column c.Sortable=False Next Click to expand... It works!!!. Thank you. Upvote 0
Mahares said: Add this snippet to your code: B4X: For Each c As B4XTableColumn In B4XTable1.Columns 'we can disable sorting of any given column c.Sortable=False Next Click to expand... It works!!!. Thank you.