or
<ClientSettings AllowKeyboardNavigation="True">
<KeyboardNavigationSettings EnableKeyboardShortcuts="true" AllowActiveRowCycle="true" />
RADGrid sorts records only when the HeaderText of a column is clicked. I want to sort Grid data on click of the column header. Is there a way to do this?
<telerik:RadGrid runat="server" ID="GridName" <MasterTableView <CommandItemTemplate> <telerik:RadToolBar OnClientButtonClicking="TheFunction"....
function TheFunction(sender, args) {
var myGrid = $find("<%=GridName.ClientID%>"); // TO BE RESOLVED WITHOUT EXPLICIT REFERENCE WITH <% %>
Edge.UI.GridExtensions.setCellValue = function (columnUniquName, dataItem, value){ var tableView = dataItem.get_owner(), cell = tableView.getCellByColumnUniqueName(dataItem, columnUniquName); if(!cell) return false; var valueDiv = cell.querySelector(".rgBatchContainer"), valueTextElement = valueDiv? valueDiv.childNodes[0]: null; if(valueTextElement) valueTextElement.textContent = value; else if(valueDiv) valueDiv.innerHTML = value; else cell.innerHTML = value; return true;}