This question is locked. New answers and comments are not allowed.
I've found 2 problems in the rtl mode of the grid:
a. the last column separator is missing (I can see it is missing on your example as well). This is probably something in the css that need to be fixed.
b. in Edit mode (which is not in your example) the cells location is shift and they not stay under the right header.
I'm attaching a picture of both problems. it occurs in all my rtl grid's (this one has an edit template to the first column, but it happens on every grid)
I've checked the grids without the t-rtl class. the 1st problem is gone (separator is back) but the 2nd problem stays.
Checked the site without my own css (only telerik's) and it still there.
Any ideas ?
(1st grid definition:
Thanks,
Dani
a. the last column separator is missing (I can see it is missing on your example as well). This is probably something in the css that need to be fixed.
b. in Edit mode (which is not in your example) the cells location is shift and they not stay under the right header.
I'm attaching a picture of both problems. it occurs in all my rtl grid's (this one has an edit template to the first column, but it happens on every grid)
I've checked the grids without the t-rtl class. the 1st problem is gone (separator is back) but the 2nd problem stays.
Checked the site without my own css (only telerik's) and it still there.
Any ideas ?
(1st grid definition:
<%=
Html.Telerik().Grid<
ItemsInOrderPOCO
>()
.Name("ItemsInOrderGrid")
.ClientEvents(events => events.OnSave("ItemsInOrderGrid_OnSave"))
.DataKeys(dataKeys =>
{
dataKeys.Add(e => e.OrderID);
dataKeys.Add(e => e.ItemID);
})
.ToolBar(commands => commands.Insert())
.DataBinding(dataBinding =>
{
dataBinding.Ajax() //Ajax binding
.Select("SelectItemGridAjax", "Orders", new { OrderID = Model.myOrder.OrderID })
.Insert("InsertItemGridAjax", "Orders", new { OrderID = Model.myOrder.OrderID })
.Update("UpdateItemGridAjax", "Orders")
.Delete("DeleteItemGridAjax", "Orders");
})
.Columns(c =>
{
c.Bound(o => o.ItemID).Title("???").Width(100);
c.Bound(o => o.OrderID).Column.Visible = false;
c.Bound(o => o.ItemDescription).Title("???? ????").Width(200);
c.Bound(o => o.NumOfItems).Title("????").Width(50);
c.Bound(o => o.CostOfItem).Title("????").Width(50);
c.Bound(o => o.TotalCost).Title("???").Width(50);
c.Bound(o => o.SupplyDate).Title("????? ?????").Width(100);
c.Command(commands =>
{
commands.Edit().ButtonType(GridButtonType.Image);
commands.Delete().ButtonType(GridButtonType.Image);
}).Width(180).Title("?????");
})
%>
Thanks,
Dani