Hi
Apex 5.1
Im trying to target the grid cells. specifically to loop through all of the values for a column, then carry out smoe function (sum it, copy it etc).
For Interactive reports I use
$('td[headers="MY_COL"]').each(function() {
alert $(this).val();
});
or
$('[data-col1="MY_COL"]').each(function() {
alert $(this).val();
});
However on the interactive grid, Ive set the ID of the column, so am using the following:
$('[id="MY_COL"]').each(function() {
tmp += $(this).val();
});
However, It only brings back the data for the active row (if there is one active). I'm assuming because until a row becomes active, it doesn't have any attributes. So my question is how can I target both active and inactive cells for a column to access the data?
Thanks
Richard