Hi,
I have a ultragrid in SplitContainer.panel1 and some textbox in panel2 both panels are Horizontally split. When we type something in Panel2 textbox it is displayed on panel1 ultragrid cell in a new row. My problem is When we enter a large text, some part of cell is hidden under Panel1 and Cel text looks incomplete. Can I put a scroll bar to ultragrid cell ?
Thank you.
Hello,
You can accomplish this by using an UltraFormattedTextEditor as the relevant column's editor in the grid. Our documentation demonstrates how you can use Embeddable Column Editors with UltraNumericEditor, and UltraFormattedTextEditor works in a similar way.
Please let me know if you have any questions.
Hi Mike,
Thank you for writing back.
Actually my question statement has few mistakes and I apologize for that, I would like to quote my question again.
I am working on a winforms application, on the extreme right side of the application screen there's a Split Container that has two Spliter Panels Panel1 and Panel2, those are split horizontally.
Panel1 is a upper panel and panel 2 is lower.
[
this.uxMembersGrid = new NewWorld.Mobile.Controls.MobileUIGrid(); this.uxTextPanelSplit = new System.Windows.Forms.SplitContainer();
this.uxTextPanelSplit.Dock = System.Windows.Forms.DockStyle.Fill; this.uxTextPanelSplit.FixedPanel = System.Windows.Forms.FixedPanel.Panel2; this.uxTextPanelSplit.Location = new System.Drawing.Point(0, 0); this.uxTextPanelSplit.Name = "uxTextPanelSplit"; this.uxTextPanelSplit.Orientation = System.Windows.Forms.Orientation.Horizontal;
this.uxTextPanelSplit.Panel1.AutoScroll = true; this.uxTextPanelSplit.Panel1.AutoScrollMinSize = new System.Drawing.Size(0, 2000); this.uxTextPanelSplit.Panel1.Controls.Add(this.uxMessageGrid); this.inboxControlStyler.SetStyleSettings(this.uxTextPanelSplit.Panel1, new Infragistics.Win.AppStyling.Runtime.InboxControlStyleSettings(Infragistics.Win.DefaultableBoolean.Default)); // // uxTextPanelSplit.Panel2 // this.uxTextPanelSplit.Panel2.Controls.Add(this.ConversationBottomTabs); this.inboxControlStyler.SetStyleSettings(this.uxTextPanelSplit.Panel2, new Infragistics.Win.AppStyling.Runtime.InboxControlStyleSettings(Infragistics.Win.DefaultableBoolean.Default)); this.uxTextPanelSplit.Panel2MinSize = 100; this.uxTextPanelSplit.Size = new System.Drawing.Size(416, 382); this.uxTextPanelSplit.SplitterDistance = 125; this.uxTextPanelSplit.SplitterWidth = 8; this.inboxControlStyler.SetStyleSettings(this.uxTextPanelSplit, new Infragistics.Win.AppStyling.Runtime.InboxControlStyleSettings(Infragistics.Win.DefaultableBoolean.Default)); this.uxTextPanelSplit.TabIndex = 1; //
]
Panel 1 has UltraGrid uxMessageGrid with only one column with rows added dynamically with each new text and panel 2 has UltraTabControl that has Text Editor. When user enters text in Text Editor(Panel 2), it is displayed as a message text on Ultragrid cells (Panel 1).
My problem is, when user exchange large texts, Panel 2 hides some part of upper Panel 1 from down and text looks like it has been cut off. Also Panel 1 scroll bar can not be scrolled until the end of panel to see the remaining text that has been covered by Panel 2.
I don't have any solution to recover this behavior.
Hi Nikhil,
Are you able to send a sample application I can run to see this issue happening? If you can send a sample, I can look into what you might be able to do to resolve this.