How to make default selection on Data Grid 2

0
I use Data Grid 2 to present a list of members that could be selected. The user can select only one of them, so I configure it to be single selection. However, I also need to have pre-selected members when the user open a certain page. Is it possible to achieve this with Data Grid 2 or I need to use another widget. Here is my configuration:   I need to have an answer pre-selected when the user opens the page:
asked
4 answers
0

Hi,

Did you found  a solution for this?

answered
0

The best approach would be using a java script or jquery.

You can add jquery in HTML Snippet. 

 

Develop a jquery which select the first row after loading of document.

answered
-2

Hi Plamen! Are you storing the answer somewhere? If you are storing it, you can modify your data source microflow/nanoflow to achieve this.

answered
-2

This can be achieved using "Dynamic row class" conjunction with the class tr-selected or your custom class. Build up your logic to display the desired selection.

Good luck.

answered