I have updated your example code below, please have a look at the left to right scroll bar once you have clicked and then unclicked the checkbox. The top row is still frozen?
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
<div>
<ej:CheckBox ClientSideOnChange="change" runat="server"></ej:CheckBox>
<ej:Grid ID="OrdersGrid" runat="server" AllowResizing="true" AllowScrolling="true" MinWidth="400" Width="1000" Height="500" AllowPaging="True">
<Columns>
<ej:Column Field="OrderID" HeaderText="Order ID" IsPrimaryKey="True" TextAlign="Right" Width="75" />
<ej:Column Field="CustomerID" HeaderText="Customer ID" Width="90" />
<ej:Column Field="ShipCity" HeaderText="Ship City" Width="90" />
<ej:Column Field="OrderDate" HeaderText="Order Date" TextAlign="Right" Width="100" Format="{0:MM/dd/yyyy}" />
<ej:Column Field="ShipCountry" HeaderText="Ship Country" Width="110" />
<ej:Column Field="ShipCountry" HeaderText="Ship Country" Width="110" />
<ej:Column Field="ShipCountry" HeaderText="Ship Country" Width="110" />
<ej:Column Field="ShipCountry" HeaderText="Ship Country" Width="210" />
<ej:Column Field="ShipCountry" HeaderText="Ship Country" Width="310" />
<ej:Column Field="ShipCountry" HeaderText="Ship Country" Width="110" />
<ej:Column Field="EmployeeID" HeaderText="Emp ID" HeaderTemplateID="#employeeTemplate" TextAlign="Right" Width="90" />
</Columns>
<ClientSideEvents ActionComplete="complete" />
</ej:Grid>
</div>
<script type="text/javascript">
function change(args) {
if (args.isChecked) {
var scrolling = { frozenRows: 0, frozenColumns: 2, height: 500, width: 1000 };
$('#<%= OrdersGrid.ClientID %>').ejGrid("model.scrollSettings", scrolling);
}
else {
var scrolling = { frozenRows: 0, frozenColumns: 0, height: 500, width: 1000 };
$('#<%= OrdersGrid.ClientID %>').ejGrid("model.scrollSettings", scrolling);
}
}
</script>
</asp:Content>