This is a migrated thread and some comments may be shown as answers.

How to remove the Text in the right side of the status bar of a grid

2 Answers 50 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Anto (DLL Version : 2008.3.1314.35)
Top achievements
Rank 2
Anto (DLL Version : 2008.3.1314.35) asked on 02 Nov 2009, 06:44 AM
Hi All

I have a radgrid with some 25 records it works fine.

In the right bottom of the grid in the status bar, there is   Displaying page 1 of 2, items 1 to 10 of 12.

Is there any option to customize it, or to remove it,

Because my grid width is just 200px, So I need to cut-short it or remove it.

<telerik:RadGrid Height = "245px" ID = "rgDept" AllowPaging = "true" Skin = "Vista" AllowMultiRowSelection = "false" runat = "server" DataSourceID = "sdsDept" AutoGenerateColumns = "false">  
                    <PagerStyle PagerTextFormat=" "/>    
                        <MasterTableView PagerStyle-Mode = "NextPrevAndNumeric" PageSize = "8" ClientDataKeyNames = "DepartmentCode" AutoGenerateColumns = "false" DataSourceID = "sdsDept" DataKeyNames = "DepartmentCode">  
                            <Columns>  
                                <telerik:GridBoundColumn HeaderText = "Code" Visible = "false" ReadOnly = "true" DataField = "DepartmentCode" UniqueName = "DepartmentCode"></telerik:GridBoundColumn>  
                                <telerik:GridBoundColumn HeaderText = "Department" DataField = "DepartmentName" UniqueName = "DepartmentName"></telerik:GridBoundColumn>  
                            </Columns>  
                        </MasterTableView>  
                        <ClientSettings>  
                        <Selecting AllowRowSelect = "true"/>  
                        </ClientSettings>  
                    </telerik:RadGrid> 


I have aleady posted this one. And I got reply too. But it does't work. And I am not able to reply on that thread, so i have created a new one.

-Anto

2 Answers, 1 is accepted

Sort by
0
Accepted
Princy
Top achievements
Rank 2
answered on 02 Nov 2009, 10:26 AM
Hi Anto,

You can customize the Pager text probably with the help of the following document:
Using PagerTextFormat

Also here's and example of customizing the pager text:
 <PagerStyle PagerTextFormat="{4} Page {0} of {1}" Mode="NextPrevAndNumeric"  />

Thanks
Princy.
0
Anto (DLL Version : 2008.3.1314.35)
Top achievements
Rank 2
answered on 03 Nov 2009, 06:11 AM
Hi Princy

Thank You very much

-Anto
Tags
Grid
Asked by
Anto (DLL Version : 2008.3.1314.35)
Top achievements
Rank 2
Answers by
Princy
Top achievements
Rank 2
Anto (DLL Version : 2008.3.1314.35)
Top achievements
Rank 2
Share this question
or