jQWidgets Forums

Forum Replies Created

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • in reply to: Print Button Print Button #55595

    erikt_ctg
    Participant

    Here is what I am using. I have been switching things up to make it work but I keep getting undefined. Am I just missing something here?

    $(“#print”).jqxButton({ width: 80, theme: “energyblue” });

    $(“#print”).click(function () {
    var gridContent = $(“#treeGrid”).jqxTreeGrid(“exportData”, “html”);
    var newWindow = window.open(“”, “”, “width=800, height=500”),
    document = newWindow.document.open(),
    pageContent = “<!DOCTYPE html>” +
    “<html>” + “<head>” +
    “<meta charset=”utf-8” />” +
    “<title>IPTask Tracker</title>” +
    “<body>” + gridContent + “</body>”+”</head>”+”</html>”;

    document.write(pageContent);
    document.close();
    newWindow.print();

    in reply to: Show/hide multiple columns Show/hide multiple columns #55438

    erikt_ctg
    Participant

    Correct. I’m calling

    $(“#treeGrid”).jqxTreeGrid(‘hideColumn’,’firstName’);

    But, as an example, I would want to hide two or more columns. Is there a way that I can could hide ‘firstname’ and ‘lastname’?

Viewing 2 posts - 1 through 2 (of 2 total)