Hi, Unfortunately we have to run the jQuery grid in a quirks mode page and want to know if I should expect any issues doing this. I notice that in a lot of your forum replies, you ask for the doctype, so I thought it would be good to try to learn of potential problems in advance.
I need to maximize the height and width of the grid based on the window height, which seems relatively straightforward as we are not yet using virtualized rows, instead using paging for the first version. I read in another thread that if we are using virtualized rows, we need to recreate the grid, and there was code posted to do that, but in the mean time, this should work (once the values aren't hardcoded), no?
$(document).ready(function () {
// on load events
resizeGrid();
// window resize
$(window).resize(function () {
});
// functions
function resizeGrid() {
$("#grid1").igGrid("option", "height", "850px");
$("#grid1").igGrid("option", "width", "800px");
}
Also, I see in the examples the .selector is used a lot. I assume this is just a placeholder for whatever css selector you want to use (class or id).
I just added paging and filtering to the grid and there are some definite problems in Quirks mode with the layout. Is this not really supported then?
Hi ga_bailey,
Quirks mode is mode used for some of the browsers to run the pages designed for old browser versions. Our jQuery controls are designed to work with the modern browsers. Probably if you add json2.js to your solution some of the issue experienced will be determined, but Quirks mode is not supported so using it may cause js or css issues.
If you need further assistance do not hesitate to contact me.
Sincerely,
Georgi Sashev
Developer Support Engineer
Infragistics, Inc.
http://es.infragistics.com/support