I'm still hoping someone can chine in on checkboxes but perhaps the multiple select is the best option. Is there a way to add tool tips to the multiple select directing how to select multiple?
Anyway here is what I used. If you have suggestions on how to improve this, let me know. It seems there has to be a better way to get the groups on onload without wrapping the grid in the get statement.
$.get('/async/groups.lasso',{x:1}, function(groups){
Ok, I'm a bit closer. I tried a multiple select which will do the same thing but the checkboxes are a bit nicer. Also, is how to load those multiple select values and how do you load one's values and set it as selected? Does it require an ajax query to get the groups and somehow set the selected one upon showing the edit form??
I'm trying to figure out if my description is confusing. On a regular form, I have those checkboxes shown in my post which are pulled from a MySQL table. How can I get those to load into the jqGrid form for adding a new records or for editing purposes?
Thanks, Oleg. Simply changing that from editoptions to editrules fixed the issue. I guess that's what I get for doing that in the middle of the night.
I was finally able to get the XML to work but find it may be a bit heavy where I can use JSON instead. I'll try fooling with the JSON a bit later. I'm using the latest jqGrid from the site. I copied the example directly from the Navigator example using only a few tweaks.
Thanks Tony. I must have reread your manual several times in the course of many hours yesterday and finally saw that one. It's a helper for sure. I did notice however, as far as input types you have, it would seem input type=”password” is not supported. That may be worth while documenting.
I read thru the docs and there is nothing that explains it. Take a look at
http://im.hldns.com/admin.lasso
No matter what I try, the dialog ends up at the top in IE. It's fine in everything else. When I commented on this last time in the thread about your loader you suggested I strip it down to the basics which is what I did.
I tried to use the following:
function jqGridInclude()
{
I am having this very issue right now. too bad this was never answered. it happens to me on my edit form as well.
Well, not sure why it really is any differently unless the libs are not fully loading before the next. Copying the source from the demo getting the scripts in a specified order and manually loading it seems to work but the page is huge with scripts. Sure seems there should be an easier way.
Ok, so I changed the loader my own way by just simplifying it immensely.
even loading them all manually I still get the errors intermittently about a value not being defined in the grid.formedit-min.js. Any idea what is causing this??
No change. 🙁 Still errors out.
Tony,
Have you chosen a permanent fix to the issue? I'd be glad to test it for you.
So, it seems to be a loader issue. How about an update?
Copyright 2014 TriRand LtdAll Rights ReservedRSS
Back to Top