Hello Telerik Team,
i found a strange behavior in my RadGrid.
While GridEditMode.InPlace and GridCellSelectionMode.SingleCell both are active, i can not click in editable cells. I reproduced this bahavior in Firefox and IE 8 and higher.
To my Testpage: It is a single RadGrid with following parameters:
RadGrid1.ClientSettings.Selecting.CellSelectionMode = GridCellSelectionMode.SingleCellRadGrid1.MasterTableView.EditMode = GridEditMode.InPlaceThe datasource is a simple table bound in NeedDataSource event.
Protected Sub getData(sender As Object, e As Telerik.Web.UI.GridNeedDataSourceEventArgs) Handles RadGrid1.NeedDataSource RadGrid1.DataSource = GetTable() End Sub Function GetTable() As DataTable ' Create new DataTable instance. Dim table As New DataTable ' Create four typed columns in the DataTable. table.Columns.Add("FELD1", GetType(String)) table.Columns.Add("FELD2", GetType(String)) table.Columns.Add("FELD3", GetType(String)) table.Columns.Add("FELD4", GetType(String)) ' Add five rows with those columns filled in the DataTable. table.Rows.Add("11", "12", "13", "14") table.Rows.Add("21", "22", "23", "24") table.Rows.Add("31", "32", "33", "34") table.Rows.Add("41", "42", "43", "44") table.Rows.Add("51", "52", "53", "54") Return table End FunctionThe last step is the PreRender event.
Private Sub RadGrid1_PreRender(ByVal sender As Object, ByVal e As System.EventArgs) Handles RadGrid1.PreRender Dim i As Integer For i = 0 To RadGrid1.PageSize - 1 RadGrid1.EditIndexes.Add(i) Next i RadGrid1.Rebind() End SubIt looks good, but the open cells are inaccessable on mouse click... the only thing i can do to access them is to tab in.
Without "
RadGrid1.ClientSettings.Selecting.CellSelectionMode = GridCellSelectionMode.SingleCell" everything is working fine. But this setting is needed in the real page to execute js on Clientside in OnCellSelected event.The InPlace-Editmode is required too.
i hope i provided enough informations so you can help me to find my error.
Kind regards,
Ilja Resch
