Jun 07, 2013, 9:21 AM
[CLOSED] Restrict the length of text a user can write into a grid cell...
Good Morning all
I need to restrict the length of text a user can write into a grid cell.
I've got this gris
Peter
I need to restrict the length of text a user can write into a grid cell.
I've got this gris
<ext:Panel ID="pnlSpecialMentions" runat="server" Header="false" Layout="FitLayout">
<Items>
<ext:GridPanel runat="server" ID="gridSpecialMention" AutoScroll="true" Height="100px">
<Store>
<ext:Store ID="storeSpecialMention" runat="server">
<Model>
<ext:Model ID="modelSpecialMention" runat="server">
<Fields>
<ext:ModelField Name="Id" />
<ext:ModelField Name="Text" />
</Fields>
</ext:Model>
</Model>
</ext:Store>
</Store>
<ColumnModel ID="SpecialMentionColumnModel" runat="server">
<Columns>
<ext:Column ID="colSpecialMentionId" runat="server" Text="Id" Hidden="true" DataIndex="Id" />
<ext:Column ID="colSpecialMentionText" runat="server" Text="Text" DataIndex="Text" Flex="1" />
</Columns>
</ColumnModel>
</ext:GridPanel>
</Items>
</ext:Panel>
Is there a way to do this in markup ?Peter
Last edited by Daniil; Jun 13, 2013 at 3:32 AM.
Reason: [CLOSED]