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
280
How to re-enable rowedittemplate when grid datasource is changed?
posted

Hi all,

In my application I have a single ultragrid. I want to perform different input functions with the grid by changing the data source/member and loading a different saved layout.

I want to do the input to a row edit template.

When I change the datasource on the grid, the row edit template is disabled and is not re-enabled when I set the datasource and layout back to the original

At runtime, how can I re-enable the row edit template.

Roger

Parents
  • 280
    Suggested Answer
    posted

     

     

     

    Got it.

    Me.UltraGrid2.DataMember = "New Data Member"

    Me.UltraGrid2.DisplayLayout.Bands(0).RowEditTemplate = Me.UltraGridRowEditTemplate2

Reply Children
No Data