Hi,
I have in rad grid auto generate columns are true and i have numeric values in columns. Is there any event of rad grid or there is any other method that the numeric values should be right aligned and the string values should be left aligned?
<telerik:RadGrid ID="gvRADInvoiceDetail" runat="server" AllowPaging="true" PageSize="25"
GridLines="Both" AllowSorting="true" BorderStyle="None" OnNeedDataSource="gvRADInvoiceDetail_NeedDataSource">
<ClientSettings>
<Scrolling AllowScroll="True" UseStaticHeaders="true" SaveScrollPosition="true">
</Scrolling>
</ClientSettings>
<MasterTableView AutoGenerateColumns="true">
<PagerStyle Mode="NextPrevAndNumeric" PageSizeLabelText="Records Per Page :" PageSizes="{25, 50, 100, 200,250}" />
<NoRecordsTemplate>
<div class="search-noresults-container">
<div class="inner-content">
<p>
<strong>No Results Found</strong></p>
<p class="small-text">
Please verify the search criteria and try again</p>
</div>
</NoRecordsTemplate>
</MasterTableView>
</telerik:RadGrid>
Please suggest.....
Thanks,
I have in rad grid auto generate columns are true and i have numeric values in columns. Is there any event of rad grid or there is any other method that the numeric values should be right aligned and the string values should be left aligned?
<telerik:RadGrid ID="gvRADInvoiceDetail" runat="server" AllowPaging="true" PageSize="25"
GridLines="Both" AllowSorting="true" BorderStyle="None" OnNeedDataSource="gvRADInvoiceDetail_NeedDataSource">
<ClientSettings>
<Scrolling AllowScroll="True" UseStaticHeaders="true" SaveScrollPosition="true">
</Scrolling>
</ClientSettings>
<MasterTableView AutoGenerateColumns="true">
<PagerStyle Mode="NextPrevAndNumeric" PageSizeLabelText="Records Per Page :" PageSizes="{25, 50, 100, 200,250}" />
<NoRecordsTemplate>
<div class="search-noresults-container">
<div class="inner-content">
<p>
<strong>No Results Found</strong></p>
<p class="small-text">
Please verify the search criteria and try again</p>
</div>
</NoRecordsTemplate>
</MasterTableView>
</telerik:RadGrid>
Please suggest.....
Thanks,