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
375
How to DISPLAY MultiLine textFields data?
posted

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.
BUT

How to Display it in the grid as multiLine? Meaning if the textField has following data
example:
This is firstLine. User Hits enter  //First Line
and comes to next Line. //Second Line

Currently 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.