etienne_marais
Honorary Master
- Joined
- Mar 16, 2008
- Messages
- 15,093
Anybody well versed with Janus controls ?
I am setting the datasource of a GridEX control and inspection shows that grdAssets.DataSource has a count of 109 after being assigned to assetVerifications.
But when I call grdAssets.GetRows() or grdAssets.GetDataRows(), zero rows are returned.
After setting the datasource the grid is successfully populated on the screen in runtime.
I am setting the datasource of a GridEX control and inspection shows that grdAssets.DataSource has a count of 109 after being assigned to assetVerifications.
But when I call grdAssets.GetRows() or grdAssets.GetDataRows(), zero rows are returned.
After setting the datasource the grid is successfully populated on the screen in runtime.
Code:
grdAssets.DataSource = assetVerifications;
foreach (Janus.Windows.GridEX.GridEXRow row in grdAssets.GetDataRows())
{
row.BeginEdit();
row.Cells[5].Value = calVerificationDate.Value;
row.EndEdit();
}
Last edited: