PDA

View Full Version : Gridpanel Filters Language



smyy
Feb 25, 2015, 3:19 PM
Hi,

In gridpanel how can i change column "filters" text? And "Enter Number" text or the others..


21861

hakandonmez
Feb 25, 2015, 5:21 PM
this my code


<ext:NumberColumn ID="NumberColumn3" runat="server" Width="90" Resizable="false" DataIndex="UserCount" Text="Users" Format="#,###" Align="Right">
<Filter>
<ext:NumberFilter EmptyText="Say? Giriniz" />
</Filter>
</ext:NumberColumn>

smyy
Feb 27, 2015, 8:30 AM
Thank u @hakandonmez.

And do u have any solution for "Filters" text? I want to change its text to "Filtrele".

RCN
Feb 27, 2015, 12:12 PM
Smyy, please set GridFilters' MenuFilterText, as shown below (line 18):



<!DOCTYPE html>
<html>
<head runat="server">
</head>
<body>
<ext:ResourceManager runat="server" />
<ext:GridPanel Title="Ext.NET" runat="server">
<ColumnModel runat="server">
<Columns>
<ext:Column Text="Prop1" DataIndex="Prop1" runat="server">
<Filter>
<ext:StringFilter />
</Filter>
</ext:Column>
</Columns>
</ColumnModel>
<Plugins>
<ext:GridFilters MenuFilterText="Filtrele" runat="server" />
</Plugins>
</ext:GridPanel>
</body>
</html>

smyy
Feb 27, 2015, 1:09 PM
@RCN Thank u! It solved.

RCN
Feb 27, 2015, 1:15 PM
You're welcome Smyy.