Thread ID: |
Created: |
Updated: |
Platform: |
Replies: |
143579 | Mar 27,2019 04:26 PM UTC | Mar 29,2019 05:04 AM UTC | ASP.NET Web Forms | 3 |
![]() |
Tags: Grid |
<div>
<ej:Grid ID="FlatGrid" runat="server" AllowSorting="True" AllowPaging="True" IsResponsive="true">
<Columns>
<ej:Column Field="OrderID" HeaderText="Order ID" IsPrimaryKey="True" TextAlign="Right" Width="75" />
<ej:Column Field="CustomerID" HeaderText="Customer ID" Width="80" />
<ej:Column Field="EmployeeID" HeaderText="Employee ID" TextAlign="Right" Width="75" Priority="4" />
<ej:Column Field="Freight" HeaderText="Freight" TextAlign="Right" Width="75" Format="{0:C}" Priority="3" />
<ej:Column Field="OrderDate" HeaderText="Order Date" TextAlign="Right" Width="80" Format="{0:MM/dd/yyyy}" Priority="2" />
<ej:Column HeaderText="CheckBox" Template="#columnTemplate" TextAlign="Center" Width="110" />
</Columns>
<ClientSideEvents TemplateRefresh="templaterefresh" />
</ej:Grid>
</div>
<script type="text/x-jsrender" id="columnTemplate">
<input type="checkbox" id="check" />
</script>
<script type="text/javascript">
function templaterefresh(args) {
$(args.cell).find("#check").click(function (args) {
debugger;
})
}
</script> |
This post will be permanently deleted. Are you sure you want to continue?
Sorry, An error occured while processing your request. Please try again later.
This page will automatically be redirected to the sign-in page in 10 seconds.