When using Grid for Hebrew (right to left) together with scrolling.
<Scrolling AllowScroll="True" UseStaticHeaders="true" />
an empty column is added to the grid header row, on the left side as if it's left to right grid (English) and it's not suitable for Hebrew.
Attached is a screenshot for demonstrating the problem.
As you can see, the scroll is added correctly on the left side of the grid, but the rectangular added to the header row is put on the right side of the grid.
Thank you!
4 Answers, 1 is accepted
As you can see, the scroll is added correctly on the left side of the grid, but the rectangular added to the header row is put on the right side of the grid.
It looks like the attachment did not make it through in both of your posts.
Could you also provide the full markup code of your RadGrid?
Regards,
Martin
the Telerik team
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Follow the status of features or bugs in PITS and vote for them to affect their priority.
full markup code of your RadGrid!
<telerik:RadGrid ID="Grid_mdr_Midrasha" runat="server" AutoGenerateColumns="False"
GridLines="None" AllowPaging="True" PageSize="15" AllowSorting="True" Font-Strikeout="False"
AllowMultiRowSelection="True" AllowFilteringByColumn="True" OnInsertCommand="Grid_mdr_Midrasha_InsertCommand"
OnItemCommand="Grid_mdr_Midrasha_ItemCommand"
OnNeedDataSource="Grid_mdr_Midrasha_NeedDataSource" OnItemCreated="Grid_mdr_Midrasha_ItemCreated"
OnItemDataBound="Grid_mdr_Midrasha_ItemDataBound">
<MasterTableView DataKeyNames="iMidrashaId" AllowMultiColumnSorting="True" CommandItemDisplay="Top"
EditMode="PopUp" Width="100%" AutoGenerateColumns="false">
<CommandItemTemplate>
<asp:LinkButton runat="server" ID="AddNew" Text="" CommandName="InitInsert">
<asp:Image ID="imgAdd" runat="server" ImageUrl="~/Images/Icons/New.png" />
</asp:LinkButton>
</CommandItemTemplate>
<PagerStyle AlwaysVisible="true" PageSizeLabelText="" FirstPageText="" LastPageText=""
NextPageText="" PrevPageText="" PagerTextFormat="Change page: {4} {0} {1}, {2} {3} {5}" />
<Columns>
<telerik:GridTemplateColumn HeaderText="" UniqueName="TemplateEditColumn" AllowFiltering="false">
</telerik:GridTemplateColumn>
<telerik:GridBoundColumn EditFormColumnIndex="0" UniqueName="nvMidrashaName" DataField="nvMidrashaName"
HeaderText="" AutoPostBackOnFilter="true" ShowFilterIcon="false" CurrentFilterFunction="Contains">
</telerik:GridBoundColumn>
<telerik:GridBoundColumn EditFormColumnIndex="0" UniqueName="nvPhoneNumber" DataField="nvPhoneNumber"
HeaderText="" Visible="false" ReadOnly="true" AutoPostBackOnFilter="true"
ShowFilterIcon="false" CurrentFilterFunction="Contains">
</telerik:GridBoundColumn>
<telerik:GridBoundColumn UniqueName="nvAddress" DataField="nvAddress" HeaderText=""
Visible="false" ReadOnly="true" AutoPostBackOnFilter="true" ShowFilterIcon="false"
CurrentFilterFunction="Contains">
</telerik:GridBoundColumn>
<telerik:GridBoundColumn EditFormColumnIndex="0" UniqueName="iHouseNumber" DataField="iHouseNumber"
HeaderText=" " Visible="false" ReadOnly="true">
</telerik:GridBoundColumn>
<telerik:GridDateTimeColumn EditFormColumnIndex="1" UniqueName="dtOpenDate" DataField="dtOpenDate"
HeaderText=" " Visible="false">
</telerik:GridDateTimeColumn>
<telerik:GridBoundColumn UniqueName="nvOrganizationName" DataField="nvOrganizationName"
HeaderText="" ReadOnly="true" AutoPostBackOnFilter="true" ShowFilterIcon="false"
CurrentFilterFunction="Contains">
</telerik:GridBoundColumn>
<telerik:GridDropDownColumn EditFormColumnIndex="0" UniqueName="iOrganizationId"
ListDataMember="tbl_sys_Organization" SortExpression="nvOrganizationName" ListTextField="nvOrganizationName"
ListValueField="iOrganizationId" HeaderText="" DataField="iOrganizationId"
EmptyListItemText=" " Visible="false" DropDownControlType="RadComboBox">
</telerik:GridDropDownColumn>
<telerik:GridBoundColumn UniqueName="nvCitySynonymName" DataField="nvCitySynonymName"
HeaderText="" AutoPostBackOnFilter="true" ShowFilterIcon="false" CurrentFilterFunction="Contains"
ReadOnly="true">
</telerik:GridBoundColumn>
<telerik:GridBoundColumn UniqueName="nvLocationTypeName" DataField="nvLocationTypeName"
HeaderText=" " ReadOnly="true" AutoPostBackOnFilter="true" ShowFilterIcon="false"
CurrentFilterFunction="Contains">
</telerik:GridBoundColumn>
<telerik:GridDropDownColumn UniqueName="iLocationTypeId" ListDataMember="tbl_sys_LocationType"
SortExpression="nvLocationTypeName" ListTextField="nvLocationTypeName" ListValueField="iLocationTypeId"
HeaderText=" " DataField="iLocationTypeId" EmptyListItemText=" " Visible="false">
</telerik:GridDropDownColumn>
<telerik:GridDropDownColumn EditFormColumnIndex="0" UniqueName="iPopulationGenderId"
ListDataMember="tbl_sys_PopulationGender" SortExpression="nvPopulationGenderName"
ListTextField="nvPopulationGenderName" ListValueField="iPopulationGenderId" HeaderText=""
DataField="iPopulationGenderId" EmptyListItemText=" " Visible="true">
</telerik:GridDropDownColumn>
<telerik:GridBoundColumn UniqueName="nvParticipantNumberRangeName" DataField="nvParticipantNumberRangeName"
HeaderText=" " ReadOnly="true" AutoPostBackOnFilter="true" ShowFilterIcon="false"
CurrentFilterFunction="Contains">
</telerik:GridBoundColumn>
<telerik:GridDropDownColumn EditFormColumnIndex="1" UniqueName="iParticipantNumberRangeId"
ListDataMember="tbl_sys_ParticipantNumberRange" SortExpression="nvParticipantNumberRangeName"
ListTextField="nvParticipantNumberRangeName" ListValueField="iParticipantNumberRangeId"
HeaderText=" " DataField="iParticipantNumberRangeId" EmptyListItemText=" "
Visible="false">
</telerik:GridDropDownColumn>
<telerik:GridDropDownColumn EditFormColumnIndex="1" UniqueName="iPopulationLevelId"
ListDataMember="tbl_sys_PopulationLevel" SortExpression="nvPopulationLevelName"
ListTextField="nvPopulationLevelName" ListValueField="iPopulationLevelId" HeaderText=" "
DataField="iPopulationLevelId" EmptyListItemText=" " Visible="false">
</telerik:GridDropDownColumn>
<telerik:GridDateTimeColumn UniqueName="dtLastUpdateDate" DataField="dtLastUpdateDate"
HeaderText=" " Visible="false" ReadOnly="true">
</telerik:GridDateTimeColumn>
<telerik:GridBoundColumn UniqueName="columnNvMidrashaID" DataField="iMidrashaId"
HeaderText="ID--> " Visible="false" ReadOnly="true">
</telerik:GridBoundColumn>
</Columns>
<EditFormSettings ColumnNumber="2" InsertCaption=" "
PopUpSettings-Modal="true" PopUpSettings-Width="500px">
<FormTableStyle GridLines="None" CellSpacing="0" CellPadding="2"></FormTableStyle>
<EditColumn ButtonType="ImageButton" />
</EditFormSettings>
</MasterTableView>
<SelectedItemStyle BackColor="#99CCFF" BorderColor="#CCFFFF" />
<ClientSettings>
<ClientEvents OnPopUpShowing="PopUpShowing" />
<Scrolling AllowScroll="true" UseStaticHeaders="true"/>
</ClientSettings>
</telerik:RadGrid>
The reported issue is actually a browser specific behavior. To go through it you can wire the GridCreated client-side event and apply the following code:
function GridCreated(sender, args) { if ($telerik.isIE) { sender.GridHeaderDiv.style.paddingRight = "0px"; } }I hope this helps,
Martin
the Telerik team
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Follow the status of features or bugs in PITS and vote for them to affect their priority.