Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
465
DataResolution Event
posted

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

Parents
  • 35319
    posted

     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.

Reply Children