Find your people. Pick a challenge. Ship something real. The CreatorCon Hackathon is coming to the Community Pavilion for one epic night. Every skill level, every role welcome. Join us on May 5th and learn more here.

How can I get the values on a selected row in a list?

hsantana8
Giga Contributor

I am able to get the selected rows in a list using the following code:

function onClick()

{

        var checked = g_list.getChecked();

        var rowsArray = new Array();

        rowsArray = checked.split(",");

}

The question is how can I access the individual values on each column of the row?

1 ACCEPTED SOLUTION

Got it working, in the example code the problem was in the variable name 'instanceVal' didn't match 'instance'.



Client Side: Pass the sys_id   of the row using a UI Action.


Server Side: Return the column of the row detected by sys_id.


View solution in original post

5 REPLIES 5

Got it working, in the example code the problem was in the variable name 'instanceVal' didn't match 'instance'.



Client Side: Pass the sys_id   of the row using a UI Action.


Server Side: Return the column of the row detected by sys_id.