Reindex Datagrid / Access to Index
Posted: Fri Sep 18, 2020 10:53 am
Dear all,
is there any chance to reindex my DataGrid without exporting/importing the Datas?
I ask because after I fill this DataGrid I am using
to sort the information with the item mobile_sortieren. Then I am able to click on a entry in my DataGrid and open the informations in another card. From there I want to "Swipe" forward / backward. But my problem is that the Index is now sorted (e.g. 5,2,4,3,1) and I have no Idea how to access the information for e.g. before/afterwards index 4 because I can not work with 4-1 or 4+1.
Q1: How can I reindex the DataGrid after the sorting
Q2: How can I read out the keys from the Index of a DataGrid (e.g. 5,2,4,3,1) , is there any command?
Thanks
Stefan
is there any chance to reindex my DataGrid without exporting/importing the Datas?
I ask because after I fill this DataGrid I am using
Code: Select all
dispatch "SortDataByKey" to group "tabelle1" of card "main" with "mobile_sortieren", "numeric", "ascending", "false"
dispatch "RefreshList" to group "tabelle1" of card "main"
Q1: How can I reindex the DataGrid after the sorting
Q2: How can I read out the keys from the Index of a DataGrid (e.g. 5,2,4,3,1) , is there any command?
Thanks
Stefan