M martha Member Mar 23, 2020 #1 Could (B4XTable / Flexible Table) have an optional fixed row for summaries in the future? To achieve what is shown in the images, it was necessary to extend B4XTable with an event. The displayed application uses two tables, one for the data and one for the totals, synchronized with clvData_ScrollChanged. B4X: Copy Private Sub clvData_ScrollChanged (Offset As Int) If xui.SubExists(mCallBack, mEventName & "_ScrollChanged", 1) Then CallSub2(mCallBack, mEventName & "_ScrollChanged", Offset) End If End Sub Attachments capture_portrait.png 34.7 KB · Views: 632 capture_portrait_2.png 35.4 KB · Views: 585
Could (B4XTable / Flexible Table) have an optional fixed row for summaries in the future? To achieve what is shown in the images, it was necessary to extend B4XTable with an event. The displayed application uses two tables, one for the data and one for the totals, synchronized with clvData_ScrollChanged. B4X: Copy Private Sub clvData_ScrollChanged (Offset As Int) If xui.SubExists(mCallBack, mEventName & "_ScrollChanged", 1) Then CallSub2(mCallBack, mEventName & "_ScrollChanged", Offset) End If End Sub
Xfood Expert Licensed User Longtime User Mar 24, 2020 #2 beautiful this app covid-19, you could share it here with the sources, it would be very welcome, thanks
beautiful this app covid-19, you could share it here with the sources, it would be very welcome, thanks
Yafuhenk Active Member Licensed User Longtime User Mar 29, 2020 #3 martha, you can also add the totals to the column headers.
M martha Member Mar 29, 2020 #4 Yafuhenk said: martha, you can also add the totals to the column headers. Click to expand... I prefer the solution implemented in my post.
Yafuhenk said: martha, you can also add the totals to the column headers. Click to expand... I prefer the solution implemented in my post.