DataList control in POS unable to select the Items #259
Unanswered
LavanyaNiki
asked this question in
Q&A
Replies: 2 comments 2 replies
-
I have ever tried select one single item, it is working |
Beta Was this translation helpful? Give feedback.
1 reply
-
can you please try this: |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
We have created a new custom form with DataList Control to display a list of information. We select a few things from the Grid, for example, vouchers 1–3 and add them to our transaction.
Then I can go back and check the form to see if I've previously associated the sale. In this case, my previously selected things are unchecked.
How do I keep the selected items in the datalist?
Followed this documentation: https://learn.microsoft.com/en-us/dynamics365/commerce/dev-itpro/pos-extension/controls-pos-extension
and added additional line as below in the OnReady function but no luck.
this.dataList.selectItems(this.viewModel.voucherNumbers);
Please let us know how to handle this issue?
Beta Was this translation helpful? Give feedback.
All reactions