Hello,
I have an ultragrid's columns with the style set to ColumnStyle.FormattedTextEditor.
I'd like to be able to format the text much like an HTML table, with column/row borders, row spans, and column spans.
I did not see a table attribute in the documentation but would like to know if there is an alternative way of pulling this off?
Thanks in advance!
Hi Acozzi,
The fix for TFS item #243643 is now ready. It will be included in our next service release. I also created a private case #CAS-187685-P3D8C9 for you in our system. You can find this case by log in into your account in our web page and go to My Account – Support Activity section.
I will send you a patch for this issue via the above mentioned case.
Please not that we were able to fix the blurriness of the RenderingControl. However, the ZoomPanel cannot scale the contained control directly. This could be handled using the ZoomFactorChanged event for example like this:
private void ultraZoomPanel1_ZoomFactorChanged(object sender, EventArgs e){ var controlContainerEditor = (UltraControlContainerEditor)this.ultraGrid1.DisplayLayout.Bands[0].Columns[orderColumnKey].EditorComponent; controlContainerEditor.EditingControl.Font = new Font(this.Font.FontFamily, this.Font.Size * this.ultraZoomPanel1.ZoomProperties.ZoomFactor); controlContainerEditor.RenderingControl.Font = new Font(this.Font.FontFamily, this.Font.Size * this.ultraZoomPanel1.ZoomProperties.ZoomFactor); this.ultraGrid1.Invalidate(true);}
Please let me know if any additional questions arise.
Adding a border style is actually a new feature idea. You can suggest new product ideas for future versions by emailing ideas@infragistics.com.
Submitting your idea will send it directly to our product management team so that it can be imported into our new ideas community once live: http://ideas.infragistics.com.
Remember when submitting your idea to explain the context in which a feature would be used and why it is needed as well as anything that would prevent you from accomplishing this today. You can even add screenshots to build a stronger case. You can also link back to this thread for additional details. Thank you in advance to submitting your product idea.
Regarding zoom panel issue I was able to reproduce this and I have asked our engineering staff to examine this further. To ensure that it will receive attention, I have logged this behavior in our internal tracking system with a Development ID of #243643. This will be assigned to a developer in a future sprint to review my investigation and confirm my findings or to offer a fix, or other resolution.
Please let me know if you need more information.
Thank You.
If the span tag supported Border-style in the Style attribute I would have exactly what I need.
Any chance the RichTextEditor feature in the wingrid would support what I need?
As an alternative I created a user control which I am applying to the grid via the Editor property. I am not using a wingrid for the user control, just ultra labels as they provide the formatting I need.
The grid sits on a ZoomPanel and as I zoom in the user control text begins to blur being as I am zooming in on an image. Any suggestions for making the editor look crisp as I zoom in?
Hello Acozzi,
Formatting of text and hyperlinks in UltraFormattedTextEditor uses same tags as the ones in HTML. However it is not HTML renderer and only limited subset of HTML functionality is supported. Among these are not tables. Therefore you cannot format the text in the editor as table. Additional information about this matter you may find in our online documentation at this article "Formatting Text and Hyperlinks".
If you need to show your information in table layout I can suggest you to use UltraGrid.
Please let me know if any additional questions on this matter arise.