NetAdvantage 9.2
I have a secondary band with x number of childrows (each having a CheckEditor with text) as options for their respective parent row. Since the text for the check editor can vary in size I was hoping to be able to autosize the height for those rows where the CheckEditor text exceeds the cell size.
I've tried a few combinations of setting the autosize property along with performautoresize calls with no results. In general I was expecting this as my reading of the documentation leaves me with the impression that only editable editors (that return SupportsAutoSizeEdit = True) would support this behavior.
I was just wanting to check if there might not be some existing method/property or other factor that I was overlooking that might allow me to achieve the result I need before taking a trip to refactor-ville.
thanks
Mike,
Will you be able to post a sample illustrating your issue so that we can check it out and see what's going on?
Michael S.
Hi,
UltraCheckEditor is the control that uses the CheckEditor. So I would not expect there to be any difference in the behavior. I have a tendency to use the terms interchangeably. Sorry for any confusion I may have caused there.
If you can post a sample, we will be happy to check it out and see what's going on.
Unfortunately UltraCheckEditor behavior seems to be consistent with that of CheckEditor in this respect at least. I keep wondering if there is not some property setting other than RowSizing that I may not be taking into account to get the autosize to work off the size of the Editor's text...? I will post a sample within a day or so.
I just caught your reply.
I notice you mentioned UltraCheckEditor but the class I'm using is actually CheckEditor. Maybe that's why my description of the behavior doesn't jibe with what you guys' are expecting?
I'm going to try replacing the CheckEditor in the editor property with UltraCheckEditor in the editorcomponenet property and see if that works.
zenophite said:it seems to me to be tied strictly to the value of the cell itself (which in this case is an integer value) - not the text of the cell's Editor...at least not this particular editor.
I don't think that should not be the case. The entire contents of the editor should be considered.If not, it may be a bug.
Can you post a small sample project demonstrating this?
I assume that the issue is that your UltraCheckEditor in this case has multiple lines of text? Is it wrapping automatically or does it have line breaks in the text?