.RowHeader {
display:none;
}
.SelectedRowHeaderCell {
display:none;
}
[Script]
$(document).ready(function () {
$($('.GridHeader col')[0]).css("width", "0px");
$($('.GridContent col')[1]).css("width", "20px")
$($('.GridContent col')[2]).css("width", "1px")
});
Sample: http://www.syncfusion.com/downloads/support/forum/120977/ze/sample-960334821.zip
Query: selection of records could only be handled with JavaScript,
Please refer to the online link.
Online Link: http://help.syncfusion.com/aspnet-classic/grid/how-to/get-the-selected-rows-in-the-grid
Regards,
Kavitha N.
Hi Dirk,
We considered this “ShowRowHeader property as false is not work with AJAX mode” as an issue and a support incident has been created under your account to track the status of this requirement. Please log on to our support website to check for further updates.
https://www.syncfusion.com/account/login?ReturnUrl=/support/directtrac/incidents
Regards,
Kavitha N.
<input type="text" id="textBx" runat="server" value="0" /> //Textbox to select record in GridGroupingControl by its value.
<input type="button" id="Button1" value="Select Record" onclick="update();" runat="server" />
<syncfusion:GridGroupingControl ID="GridGroupingControl1" runat="server" AjaxAutoformat="Office2007Blue"
EnableCallbacks="false" ShowGroupDropArea="true" EnableAjaxMode="true" DataSourceCachingMode="ViewState"
AllowMultiSorting="true" EnableAjaxPaging="true"> // GridGroupingControl with Ajax mode.
[Script]
function update() {
var gridObj = $find("MainContent_GridGroupingControl1"); // Get GridGroupingControl object by its ID(MainContent_GridGroupingControl1)
if (gridObj != null) {
gridObj.selectRow($("#MainContent_textBx").val()); //“selectRow” client side method to select a record in the GridGroupingControl based on the value in textbox(MainContent_textBx).
}
return false;
}
Please refer to the sample.
Sample: http://www.syncfusion.com/downloads/support/forum/120977/ze/AjaxGrid-RecordSelect1476082840
Regards,
Sarath Kumar P.