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,
I am just checking if you require any further assistance on the matter.
After some research the functionality that you are looking for has been determined to be a new product idea. I have sent your product idea directly to our product management team. Our product team chooses new product ideas for development based on popular feedback from our customer base. Infragistics continues to monitor application development for all of our products, so as trends appear in requested ideas, we can plan accordingly.
We value your input, and our philosophy is to enhance our toolset based on customer feedback. If your idea is chosen for development, you will be notified at that time. Your reference number for this product idea is PI12060002.
If you would like to follow up on your product idea at a later point, you may contact Developer Support management via email. Please include the reference number of your product idea in the subject and body of your email message. You can reach Developer Support management through the following email address: dsmanager@infragistics.com
Thank you for your request.
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?
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.