Welcome to the Xceed Community | Help
Community Search  
More Search Options

InsertionRow_Loaded

Sort Posts: Previous Next
  •  05-21-2012, 1:27 AM Post no. 32129

    InsertionRow_Loaded

    Hi,

     

    I'm using version 3.0.8506.12260 and I'm having problems with the InsertionRow_Loaded event. If the number of rows in the grid is small enough that a scrollbar is not required the InsertionRow_Loaded event fires as soon as the grid is populated with data, which is what I want. If the number of rows is more than fits on one screen and therefore scrolling is required the InsertionRow_Loaded doesn't fire until the insertion row is scrolled in to view. I need the event to fire straight away under all circumstances so I've tried forcing a scroll in code when the grid loads but this doesn't cause the event to fire.

    Any ideas?

     Thanks

     Paul 

  •  05-23-2012, 8:45 AM Post no. 32141 in reply to 32129

    Re: InsertionRow_Loaded

    I've found the following post  http://xceed.com/CS/forums/post/24463.aspx which looks like it could allow me to get hold of the scrollbar and cause a scroll to happen but when I run the code it does not find the PART_ScrollViewer and returns null stopping me from getting to the PART_VerticalScrollBar. Has anybody tried anything like this and managed to get it to work?
  •  05-30-2012, 3:20 PM Post no. 32185 in reply to 32141

    Re: InsertionRow_Loaded

    Hi Paul,

    My suggestion would be to simply put the InsertionRow in the FixedFooters rather than in the Footers, that way it will be visible from the start without having to scroll down, and so its Loaded event will be called at launch.

     


    ** Quick Tip: Clients with an active support subscription should be sending their questions by email if they wish to benefit from the faster response time. Thanks!


    Diane Lafontaine
    Technical Support
    Xceed Software Inc.
  •  06-07-2012, 11:54 AM Post no. 32218 in reply to 32185

    Re: InsertionRow_Loaded

    Hi, that's what I've ended up doing and it works well. It would be handy if it could work the other way too though (maybe it already does in newer versions). Thanks.
View as RSS news feed in XML
Contact | Site Map | Reviews | Legal Terms of Use | Trademarks | Privacy Statement Copyright 2011 Xceed Software Inc.