Quantcast
Channel: Project Customization and Programming forum
Viewing all articles
Browse latest Browse all 5347

Get tablecache property of JsGrid on schedule.aspx page

$
0
0

Is there a way to get to the ._tableCache property of the ProjectDrillDownSatellite class in ProjectDrillDownSatellite.js?  I need to be able to get all of the selected records in the grid on schedule.aspx.  I have the satellite and I've used GetFocusedRecord to return the focused record, but this isn't sufficient.  I need to get every selected record.  I've tried using the GetSelectedRecordKeys function of the JsGridControl but this only returns the keys.  I need the actual record so that I can call the GetDataValue method of the record.  A snippet of my code is below:

var satellite = projectDrilldownComponent.get_ProjectDrilldownSatellite();

var record = satellite.GetFocusedRecord();

alert(record.GetDataValue('TASK_ACT_DUR'));

The code above works perfectly.  However if I ever try to do the following, I get an undefined error:

var data = satellite._tableCache;

Thanks.




Viewing all articles
Browse latest Browse all 5347

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>