JSFiddle - React, Tailwind, and code Playground
by Kalu Singh Rao
JavaScript
<%@ Page Title="" Language="C#" MasterPageFile="~/Administrator/BackEndMaster.master" AutoEventWireup="true" CodeFile="CustomerDetails.aspx.cs" Inherits="Administrator_CustomerDetails" %>
<asp:Content ID="Content1" ContentPlaceHolderID="cpHeader" Runat="Server">
<script type="text/javascript">
$(document).ready(function () {
$('#AspGrid').DataTable({
// 'bSort': false,
"columnDefs": [
//{
// // The `data` parameter refers to the data for the cell (defined by the
// // `data` option, which defaults to the column being worked with, in
// // this case `data: 0`.
// "render": function (data, type, row) {
// return data + ' (' + row[1] + ')';
// },
// "targets": 0
//},
//{ "visible": false, "targets": [1] }
],
// "scrollY": "250px",
//"scrollCollapse": false,
"info": true,
//"paging": true
});
var name = $('#<%=hdnSearch.ClientID%>').val();
$('#AspGrid_filter label').find('input[type="search"]').eq(0).val(name);
$('#AspGrid_filter label').find('input[type="search"]').keyup();
});
</script>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="cpLeftNavigation" Runat="Server">
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="cpContent" Runat="Server">
<h1>
<asp:Label ID="cntrlTitle" runat="server">Warehouse All By Name</asp:Label></h1>
<div class="x_panel">
<asp:Panel ID="pnlGrid" runat="server" Visible="false">
<%--<h3 style="overflow: hidden;float: left;margin: 2px;">--%>
<%--<asp:HyperLink Visible="false" Text="Add" ID="AddLink" runat="server" CssClass="btn btn-info...