Hi IG team,
We are using a WebDataGrid of IG version 10.3 (latest build installed).We have few text fields in the gird for which we are using TextEditorProviders. Following is the code for one of our textEditorProvider.
<ig:TextEditorProvider ID="prvMaxLength" ExitEditModeOnEnter="false"> <EditorControl ID="txtAddress" runat="server" MaxLength="1500" TextMode="MultiLine" Visible="true" MultiLine-Rows="25" MultiLine-Wrap="True" MultiLine-Overflow="Visible" ClientIDMode="Inherit"></EditorControl ></ig:TextEditorProvider>
The textfield is a multiLine, so we are setting the textMode property to "MultiLine".The text can be entered and it doesnt exitEditModeonEnter, all works fine.BUTHow to Display it in the grid as multiLine? Meaning if the textField has following dataexample: This is firstLine. User Hits enter //First Lineand comes to next Line. //Second LineCurrently it displays data in ONE Line like this:
This is firstLine. User Hits enter and comes to next Line. // Single Line
Kindly help on this. Thanks in advance.
Hi IG Team,
Any help on this??
Hello nileshsaw,
could you try to use TextBoxProvider and set TextMode property to MultiLine:
<EditorProviders> <ig:TextBoxProvider ID="WebDataGrid1_TextBoxProvider1" EditorControl-TextMode="MultiLine"> <EditorControl ClientIDMode="Predictable"></EditorControl> </ig:TextBoxProvider></EditorProviders>Here is the result:
Hope this helps
Hi Hristo Valyavicharski,
Thank you for your reply.We implemented this in our application, but the Grid doesnt display the data as entered.For Example if I'm Entering the Data as below :
NileshSaw < SHIFT + ENTER>104, South Park Street < SHIFT + ENTER>New Odeon Towers < SHIFT + ENTER>< SHIFT + ENTER>< SHIFT + ENTER>Tel. 67-267662
The data should display as entered it should wrap but its displaying as below:
NileshSaw 104, South Park Street New Odeon Towers Tel. 67-267662
Could you please help us on this.Thanks in advance.
Any update on this?
Thanks & Regards,NileshSaw
Thank you for your reply.The solution that you have provided is using IG version 11.1.20111.2064 but we are using IG version 10.3.20103.2217.
Can you please tell us solution using 10.3.20103.2217 version.?
Thanks in advance.
Regards,Nileshsaw
Strange, it is working correctly for me. Please find my testing sample. http://community.infragistics.com/cfs-file.ashx/__key/CommunityServer.Components.UserFiles/00.00.03.79.35.WDG/74348_5F00_WDG_5F00_RowAdding_5F00_TemplateColumn.zip
Also try to copy the ig_res folder from my project to yours.