Unknwo Parameter when showing hided column

Unknwo Parameter when showing hided column

kishorkabadikishorkabadi Posts: 9Questions: 4Answers: 0

initComplete: function () {
if (status == "P") {

                    dt_fixedheader1.columns(2).visible(false);
                }
                else if (status == "Pr") {

                    dt_fixedheader1.columns(2).visible(true);
                }
                else if (status == "C") {

                    dt_fixedheader1.columns(2).visible(false);
                }
                else if (status == "R") {

                    dt_fixedheader1.columns(2).visible(false);
                }
            }

Answers

  • kishorkabadikishorkabadi Posts: 9Questions: 4Answers: 0

    When i reload datatable with below code
    var dt_basic_table1 = $('.datatables-basic');
    dt_basic_table1.DataTable().ajax.reload();

  • colincolin Posts: 15,144Questions: 1Answers: 2,586

    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.