Feb 27, 2013, 5:25 PM
[CLOSED] Ordered list string created from an html editor appear as unorder list when added in a templated grid.
Hi,
We have a templated grid with records generated from an HTML editor. However when we create an order list from the HTML editor and add it to the grid sore. it renders as an unorder list (bulletted list ).
Please how can this issue be resolved.
setting the description value to html ordered list below
We have a templated grid with records generated from an HTML editor. However when we create an order list from the HTML editor and add it to the grid sore. it renders as an unorder list (bulletted list ).
Please how can this issue be resolved.
<ext:GridPanel Title="Steps"
runat="server" HideHeaders="true" TabIndex="43" ID="gridPanelResolutionguidelinesNewResultSet"
ScrollDelta="2" Frame="true" StyleHtmlContent="true">
<View>
<ext:GridView runat="server">
</ext:GridView>
</View>
<Store>
<ext:Store runat="server">
<Model>
<ext:Model runat="server" IDProperty="Identifier">
<Fields>
<ext:ModelField Name="Identifier" Type="String" />
<ext:ModelField Name="DisplayName" Type="String" />
<ext:ModelField Name="Index" Type="Int" />
<ext:ModelField Name="Description" Type="String" />
</Fields>
</ext:Model>
</Model>
</ext:Store>
</Store>
<ColumnModel>
<Columns>
<ext:TemplateColumn runat="server" Sortable="true" DataIndex="Description" Flex="1">
<Template runat="server">
<Html>
<div style='padding: 0 5px 5px 5px'>
<span style='padding: 0 5px 5px 5px; word-wrap: break-word;' class="word_wrapCss">
{Description:htmlDecode}
</span>
</div>
</Html>
</Template>
</ext:TemplateColumn>
</Columns>
</ColumnModel>
<SelectionModel>
<ext:RowSelectionModel runat="server">
</ext:RowSelectionModel>
</SelectionModel>
</ext:GridPanel>
Data:setting the description value to html ordered list below
<ol >
<li>Coffee</li>
<li>Tea</li>
<li>Milk</li>
</ol>
Last edited by Daniil; Mar 04, 2013 at 12:45 PM.
Reason: [CLOSED]