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
220
Using the same instance of an UltraFormattedTextEditor (subclass) in multiple bands
posted

Hi,

I'm trying to assign the same instance of an editor control to multiple bands of an UltraGrid, and it doesn't appear to be working correctly...

 

I've created a sub-class of the UltraFormattedTextEditor which simply adds an editor button to it.  I've assigned the same instance to multiple bands, and while it works great within the same band, it does not appear to be working across bands.  The first band will show the formatted text, but any other bands show the format source instead.

Should I be able to use the same instance across bands, or do I have to create an instance for each band?

 Thanks

Parents
No Data
Reply
  • 37774
    posted

    You should be able to use the same instance of the control across multiple bands; in fact, with a non-derived UltraFormattedTextEditor I can add a button to the ButtonsRight collection and assign it to two different columns in two different bands and the button will appear corectly.  I'm also not sure why you mean by showing the "format source".

    -Matt

Children