Ah, the .load() loads scripts too?
I have figured out there's some 'junk' (i.e., not relevant to the example) that loads an iframe with 4 ads – 'addsx.html'.
Thanks Tony.
Never fails – give up and ask for help and the answer presents itself.
It just occurred to me when I revisted the demo pages, that my 'zebra stripe' and the pager background is missing ('sand' theme).
I reloaded the themes folders from the ZIP file, but the grid looks the same.
By the way, this is the grid code:
I tried something but it had the same result – I used window.open() and a .click() event.
I don't see the behavior with Firefox – windows open in front.
Most likely this is due to the .js files not being loaded.
frap said:
How would one style column headings?
Say, if I'd like a heading to appear right aligned instead of left…
Looks like <div id='jqg_ for all headings, so define styles accordingly and that should do it. (where is the name in the column definitions
Hmm, the item error was a 'feature' I just added.
Are they identified by unique CLASSes (that is, NOT IDs)?
I had an unexpected behavior once when I unwittingly defined two elements with the same ID and jQuery had difficulty distinguishing them.
This is a long shot, but I had blank cells at first and it was because my 'cells' element (JSON data) was in an associative array (PHP) so the JSON data was not being correctly encoded.
To all, until Tony makes another release, I offer the following workaround/fix:
in grid.base.js at line 740 (release version 3.3)
add: row.id = cur[idn];
See below for the relevant section of code I modified:
Excellent work Tony.
Can you explain?
Copyright 2014 TriRand LtdAll Rights ReservedRSS
Back to Top