I have table layout which is populated using a data page. I have requirement that if I click on any row of table layout, it should copy all the information of that row. How can I achieve this requirement ?
Lets say, I have clicked on 4th row, then in background, all the data in 4th row i.e.
@SajjadulI16658324 you can add another column to the table layout and keep a button, say "Select". So for selecting a row user should be clicking on this button. On clicking you can use refresh-this-section action and call a data transform. Pass index(.pxListSubsript) to the data transform. This is the index of current selected item. Then set Primary. Yourpage = yourtablepagelist(param.Index)...
If suppose you definitely need this on clicking on row columns, you will need to call the above Data transform and refresh this section for all the columns you are using for table. But keeping a button will be easy to maintain at a one place.
@Anoop Krishna Thank you! I have tried your method. It's working. But I have found another easiest solution i.e. on the table layout property, I just added an action set ( onclick -> set values) which is also working.