jquery - How to customize JQGrid with another new header -
first of lot shared great answers in many quesioned asked many users. got lot of information answers.
i trying implement jqgrid in project. , per requirement trying add header this:
i did this: var t1 = ' highmediumlow '; var applychangesdiv = document.createelement("div");
$(".ui-jqgrid-hbox").after(t1);
now question correct way of adding new header. here requirement:
user selects 1 or more rows , change priority in third line of header, selected value should apply in selected row cells.
note: here referring 1st row header scorecard name, priority etc. , 3rd row row want add.
now if add said, have write lot code apply changed values in cells , 1 more issues when re-sizing column width, 3rd row not re-size.
if demo, great help. thanks!
i got answer. instead of adding after ui-jqgrid-hbox, added after ui-search-toolbar.
so new code is: $(".ui-search-toolbar").after(t1);
Comments
Post a Comment