while adding All option in show entries, it is alerting "Hello" before displaying the data

while adding All option in show entries, it is alerting "Hello" before displaying the data

anupamjain16anupamjain16 Posts: 2Questions: 1Answers: 0
edited January 18 in DataTables 1.10

while adding the "All" option in show entries, it is alerting "Hello". added only below-highlighted code and alert in not anywhere in the codebase.

table = $('#accountdata')
                            **.DataTable(
                                    {  aLengthMenu: [
                                        [25, 50, 100, 200, -1],
                                        [25, 50, 100, 200, "All"]
                                    ],
                                       iDisplayLength: 25,**
                                        processing : true,
                                        // dom : "lfBtrip",
                                        dom : "lfBtrip",
                                        // serverSide: true,
                                        //paging : false,
                                        length : 4,
                                        select : 'single',
                                        pagingType : "full_numbers",
                                        ajax : {
                                            data : dataString,
                                            dataType : 'json',
                                            url : "accountManagement",
                                            type : "POST"
                                        },

Please help with this.

Edited by Colin - Syntax highlighting. Details on how to highlight code using markdown can be found in this guide.

Answers

  • anupamjain16anupamjain16 Posts: 2Questions: 1Answers: 0


  • colincolin Posts: 14,208Questions: 1Answers: 2,408

    There isn't any code there that would say "Hello", so there's something missing in your explanation. 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

Sign In or Register to comment.