on 2021 Jan 26 3:13 PM
Hello,
We are looking to create a custom UI for SAP Asset Manager 2010 using MDK, where a user can select multiple operations (like a batch) at a time (from a table/grid table) and select multiple checkboxes which will have different options for that operation like "Work Done", "Not Ok" etc. I've tried using grid table but was not able to use checkboxes inside the table. Can any of you please let me know if this can be achieved using grid table or are there any different controls/design approaches I need to look into to achieve this?
Thanks in advance!
For a grid table please keep in mind that on a phone it will render as an Object Table list automatically.
What you are describing is a multi-select scenario. Please review the following for suggestions on how you can approach that today.
How to implement Checkmark and multiple selection using MDK?
We are working on adding a multi-select mode for Object Tables into MDK as more of a pre-built feature for a future release but in the meantime this should hopefully get you going.
--Bill
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks for the quick response, Bill. We are actually looking to add multiple checkboxes for each row inside a table which should look similar to the sample screenshot attached here. From your previous suggestions, if we use onPress action, I assume it would select/deselect entire row but I would like to use the checkboxes independently. Please check and let me know if my understanding is incorrect here.
Grid Table does not support cell level on press actions. It is an onPress for the entire row. You might be able to use images to show your checkbox states and in the onPress show a popover menu to toggle the states of the columns. This would not translate well to phone however if that is a supported device type for the screen.
Alternatively you could create a custom extension control to render the grid and in there you could include multiple click handlers for each checkbox as needed.
User | Count |
---|---|
106 | |
8 | |
6 | |
6 | |
6 | |
5 | |
5 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.