Mashiane Expert Licensed User Longtime User Aug 12, 2013 #1 This is a class to draw an editable grid on a customlistview. The intention is to have a grid that you can edit and save contents to a database during run time. 1. Add columns specifying their characteristics. Currently the label, textbox and dropdownlist are supported. 2. Add rows to the grid. 3. Use getrow method to return the contents of a row as a map with column and value keys Bug: For some reason the landscape mode now cuts the display. Potrait mode works with a code tweak. Attachments Screenshot_2013-08-13-23-03-16.png 124.7 KB · Views: 1,489 Screenshot_2013-08-13-23-03-28.png 113.7 KB · Views: 1,386 mashiane_editablegrid.zip mashiane_editablegrid.zip 40.5 KB · Views: 975 Last edited: Aug 13, 2013
This is a class to draw an editable grid on a customlistview. The intention is to have a grid that you can edit and save contents to a database during run time. 1. Add columns specifying their characteristics. Currently the label, textbox and dropdownlist are supported. 2. Add rows to the grid. 3. Use getrow method to return the contents of a row as a map with column and value keys Bug: For some reason the landscape mode now cuts the display. Potrait mode works with a code tweak.
Erel B4X founder Staff member Licensed User Longtime User Aug 13, 2013 #2 You can add a HorizontallScrollView as the parent of CustomListView. Though it is usually not recommended to combine scrolling views. Check the EventName parameter of these buttons. Upvote 0
You can add a HorizontallScrollView as the parent of CustomListView. Though it is usually not recommended to combine scrolling views. Check the EventName parameter of these buttons.
Mashiane Expert Licensed User Longtime User Aug 13, 2013 #3 Thanks Erel, I used the hsv as its working perfectly. The only thing is that in landscape mode of my phone the rest of the controls in the grid gets cut off. However so far so good in terms of what I need to do with this. Maybe you can find something Im missing for the unproper display but for now I'm closing this. Thanks a lot! Attachments Screenshot_2013-08-13-21-13-51.png 105.9 KB · Views: 979 Last edited: Aug 13, 2013 Upvote 0
Thanks Erel, I used the hsv as its working perfectly. The only thing is that in landscape mode of my phone the rest of the controls in the grid gets cut off. However so far so good in terms of what I need to do with this. Maybe you can find something Im missing for the unproper display but for now I'm closing this. Thanks a lot!
L Luis Carrillo Escalona Member Licensed User Longtime User Nov 19, 2013 #4 can validate as per cell Upvote 0