I want to change the CSS of the add form of the jqGrid. Are there any methods available for changing the complete CSS in the linking of the add form for the jqGrid?
You can't change the stylesheets without affecting the whole page.
The only way I can think of to achieve this would be to use an iframe, but it would be a bit clunky.
You could add a class to a parent div, and then change the css files to be something like
.sheet1 .c1 {
border: 1px solid #000
}
in the first sheet and
.sheet2 .c1 {
border: 3px solid #f00;
}
in the second. Then your markup would be:
Hello!
Change the class sheet1 in the parent div to sheet2 and the child div will change.