I am using a 2010.3 XamGrid and need to populate some custom totals after the grid is completely and 100% fully loaded. The Loaded event does not work.
Is the DataResolution event the correct place to put code to run after the XamGrid is fully loaded?
Thanks,
John
Hello,
Currently we do not provide such kind of event. I can suggest you handle the ‘LayoutUpgraded’ event of the XamGrid and invoke the desired functionality when it is fired only for first time. For this purpose you need to use a flag :
bool flag = false;
…
private void MyGrid_LayoutUpdated(object sender, EventArgs e)
{
if (flag == false)
MessageBox.Show("Operation executed !!!");
flag = true;
}
If you need any further assistance, feel free to ask.
This doesn't work. The first time Layout_Updated is fired is even before Loaded. What I really need is a way to tell when the grid is 100% fully loaded.
Any other suggestions?