I can’t seem to find anything on how to get a cells’ value from a flexigrid.
I am trying to retrieve the third columns’ cell value for every checked item.(each row has a checkbox).
I have a function that gets the rows id, but I cannot get it to work for the third column.
(Since it is a flexigrid you can rearrange things so third column won’t always be third column)
Here is my function:
function getSelectedExhibitIDs() {
var selectedExhibitsList = new Array;
var exhibitNumber = new Array;
var i = 0;
$('.exhibitCheckBox:checked').each(function () {
if ($(this)[0].id !== "checkAllExhibits") {
selectedExhibitsList[i] = $(this)[0].id.split('_')[1];
++i;
}
});
return selectedExhibitsList;
}
Looks like you are not trying to access the 3rd Column at all..