My Jquery Data table is not working properly...

My Jquery Data table is not working properly...

N J Uchaiah SwamyN J Uchaiah Swamy Posts: 3Questions: 1Answers: 0
@foreach (var item in Model.Alarms) { @item.AlarmShortName } @Model.BTSHeader.AlarmShortName @foreach (var item in @Model.Alarms) { }
Status Site Name Site ID Mod P Source Update Time Fuel Tp Batt Vol Batt SOC Load Cur

Replies

  • N J Uchaiah SwamyN J Uchaiah Swamy Posts: 3Questions: 1Answers: 0


    <link type="text/css" href="~/media/css/jquery.dataTables.min.css" rel="stylesheet">
    <script type="text/javascript">

        $(document).ready(function () {
            $('#tblEmployee').DataTable({
                "order": [[4, "desc"]],
                destroy: true,
                retrieve: true,
                "ServerSide": true
            });
        });
    
    </script>
    
  • colincolin Posts: 15,237Questions: 1Answers: 2,598

    We're happy to take a look, but as per the forum rules, please link to a test case - a test case that replicates the issue will ensure you'll get a quick and accurate response. Information on how to create a test case (if you aren't able to link to the page you are working on) is available here.

    Cheers,

    Colin

This discussion has been closed.