Hi,
I am trying to select all records in a datagrid using the header/row checkbox setup.
When I check the header checkbox it shows up as selected but the rows in the grid do not. I have checked the selectedItems property and it gets updated correctly. I can also select individual rows. When I unselect the header checkbox it works, all the items that I manually selected get unselected.
The grid just does not reflect when I check the header checkbox (select all)
Change event of the header checkbox.
Execute C#
if ( (bool)args == false)
{
selectedItems = new List<FlexBilling.Models.Billingsqlserver.VwJobListingUnbilled>();
}
else
{
selectedItems = getVwJobListingsResult.ToList();
}
Checkbox value property
${selectedItems != null && selectedItems.Count > 0}
What am I missing here?
Pages.zip (2.7 KB)