Does the grid show. Is the only thing that is not working the pager?
Are the systems diferent, for example, one windows the other linux/mac?
Your problem has nothing to do with jqGrid and everything to do with css.
First things first… There is no property as float: center. It's either, left, right or none.
Next… you did well to wrap the grid in a div. The first thing to do is float your vertical menu left, then you can set the wrppaer div's margin: 0 auto. This will place the wrppaer div in the middle of the available space.
Hope this helps. Maybe a more experienced CSS'er can be of better assistance.
Cheers,
P.
As far as the two line header goes, I cant really help you guys there but you can have a look at the docs and check Userdata for the footer.
Cheers,
P.
As requested, here is a demo page put together in much haste so please forgive it's poor appearance and content.
Also, check out the theme I'm working on for jqGrid and let me know what you think of it. Click on search for a better idea of the form and modal window.
Cheers,
P.
Hi vkapoor.
Each row in jqGrid has a class of jqgrow. Therefore, the best way that I could find to target the row hover was to target $(“#.jqgrow”).
I will try and post a working demo of this as soon as possible. Hopefully this weekend Iwill have some spare time and do just that.
Not being any sort of jQuery expert I would need some help, but I would definetly like to try and port this to a plugin which could more esaily be integrated with jqGrid. (Hint hint Tony or any other expert around the forum!)
Cheers,
P.
Hi Tony.
Sorry for the long absence, but my schedule has been crazy these past few weeks.
Anyway, I started looking into this issue and here are my findings.
In my opinion, the best way to solve this problem would be to have the ability to specify where we want the modal created. From what I gathered, you append it to the body in all but one case so it is after everything else.
If we could append it to say a container div with an id specified by us, we could have greater control of the modal window position.
Container div would have position:relative and then the modal window could be postion:absolute, but relative to container div.
Hope this makes some sense…
Is this change possible?
Cheers,
P.
NIce catch… missed that one 😉
Cheers;
P.
Hi, Please try the following and see if it wokrs:
seccao = rowdata.seccao;
OK. I see your dilema then.
Let's get creative then. A simple input filed before diplaying the grid. User starts typing in project number. Jquery autocomplete fetches possible matches from database. Onblur of the input feild and gird is created with the data pertaining to the specific project. This would maybe allow you to instead of relying on the users to update the time spent, just add aditional time and let server sum it all up.
Just an idea 😉
Cheers,
P.
Hi, Try something like this:
$(“#selector”).change(function(){
Hi,
Just a quick thought, but wouldn't maybe a grd/subgrid or master/detail layout be more suited for such a task.
Elaborationg a bit more on this idea. In the main/master grid you could have the various projects and then use the subgrid/detail forf the time input.
Cheers,
P.
I see… I have Linux+FF so can't realy test this much, buch couldn't we just alter the jqModal.css file responsible for styling. After all, the one thing that the author of jqModal claims is that it is flexible.
We could have a container div and then create the modal div inside the container. The container could be relative position and that way we could get absolute/relative position for the modal. (not sure if this is possible but will look into it when I have a bit more time) What do you think Ton?
Just
Why not use the editoptions “top and left to place the modal where you want it?
Back again just to say thanks Tony. That did the trick.
With a bit more time I will look into jqModal a little more and hopefully will be able to harness it's power alongside jqGrid's 😉
Cheers,
P.
Actually, the tableto grid method is a great way of managing accessability for sites with no javascript ;-).
Just display a normal table returned from database if no javascript present, if javascript present, use tableToGrid. (Hehe Just remembered this… will use for next project 😉 )
Copyright 2014 TriRand LtdAll Rights ReservedRSS
Back to Top