Chris

Forum Replies Created

Viewing 15 replies - 1 through 15 (of 32 total)
  • Author
    Replies
  • in reply to: Add,Delete, Refresh etc missing when I hide a column #124293
    Chris
    Participant

    Hi Tony – tested and all works perfectly so it works as it did before. Nice. I also used the .min.js version and all the other functions works perfectly too like the filters and excel/pdf buttons are all working.

    Thank you!

    in reply to: Add,Delete, Refresh etc missing when I hide a column #124287
    Chris
    Participant

    I have added a video here showing how this is behaving. Might well be something to do with the set-up I have but not sure.

    VIDEO of behavour

    You will need to use a PW of TONYJQGRID

    Cheers, Chris.

    in reply to: Add,Delete, Refresh etc missing when I hide a column #124286
    Chris
    Participant

    Hello – so when I use the responsive=>true with 100% I do get the button available. Unfortunately when I click on the button I see the menu of options and the then it reloads the form , so not getting a chance to click on the menu options. Not sure why as yet.

    The strange thing is that whether I use 100% and responsive or specify the 800 the grid always gets resized the same size and with 800 being used I see the normal icons and the with 100% and responsive I see the button (even thought it is not working on my example) so I guess the calculation or logic to determine if there is not enough room my be a bit off. The grid size after it gets resized on a normal laptop screen is 400px width.

    Not sure of my display problems on the button have anything to do with the CSS I am using, but if you can point me in the right direction as I am using the CSS from the trirand directory structure?

    /css/trirand/ui.jqgrid.css”
    /css//ui.multiselect.css”

    Where is the latest CSS held and language?

    Thanks for your help Tony.

    in reply to: Add,Delete, Refresh etc missing when I hide a column #124283
    Chris
    Participant

    Hi Tony, by the way I have now changed all from 100% to 800 and it works fine, so there is no great urgency on this one, but I guess it would be nice to know why it is acting strangely based on width.

    We also resize the grid once in anyway as it is dependant on the browser width and height, so it is odd as the size of the grid ends up the same based on this whether I set the PHP to 100% or 800, but it decides not to include the icons in the left pager.

    As I said if you set the width so something small like 200 or 300 it decides not to include the icons also.

    Hope this all helps, but if you need anything else from me let me know.

    in reply to: Add,Delete, Refresh etc missing when I hide a column #124282
    Chris
    Participant

    OK – I have created a test file and can replicate it.  The issue seems to be related to the width set in gridoptions. If I use a width of 100% (my normal setting) then it will not show the icons if I hide the TagID field.  If I set it to say 600 it works!  If I set it to 200 it does not work.

    Here is the PHP file and services it calls.  I have left the width at 300 so you can see it not displaying…

     

     

     

    in reply to: Add,Delete, Refresh etc missing when I hide a column #124281
    Chris
    Participant

    Working on a test set of files,  but to start with here is the script created when the TagID column is hidden and you do not see the icons:

    AND here is the script generated when the TagID is not hidden and you see the icons:

    in reply to: Add,Delete, Refresh etc missing when I hide a column #124267
    Chris
    Participant

    Here are some visuals:

     

    Grid when TagId is hidden – no icons!

    Grid showing no icons as TagID is hidden

    Grid when TagID is not hidden – icons appear!

    Grid showing icons as TagID is NOT hidden

    • This reply was modified 10 years, 8 months ago by Chris.
    in reply to: Save & Load Grid State #124264
    Chris
    Participant

    Ignore that last suggestion on my note – too much testing and not realising what I am seeing!!

    All good and working a treat.

    in reply to: Save & Load Grid State #124258
    Chris
    Participant

    Hi Tony – loaded and tested – that works perfectly. Thanks again for fixing so quickly.

    OK – this is a suggestion to consider for the future or maybe you can do it and I have not figured out, but it would be useful to save everything apart from the data as when I load I want the grid to the same state, but reload the data afresh.  At the moment I am loading the state which brings back the data being stored and then triggering a reload to get the latest data.  I was thinking something like a storeGridData option as an example to compliment the storeNavOptions as this would help with local storage being used when I do not necessarily need it.

    If you have any bright ideas that would help, please let me know, but I am very happy as it is all working.

    Thanks again.

    in reply to: Save & Load Grid State #124239
    Chris
    Participant

    Hi Tony, one thing I have noticed tonight whilst testing is that frozen columns are not brought back when loadingState.  I only have one place in the system we use this and although not ideal it is not a show stopper. If you get a chance to include that would be great.

    But I have to say it is all working really well in all our systems now and they have gone live using the new version of the grid and the load and save state!

     

    in reply to: Save & Load Grid State #124233
    Chris
    Participant

    Hi – I will look at firebug, but did not have much luck with it last time I looked.  I think you have to type in javascript commands to clear the local storage, but did not seem to work. If there is anyone out there that has a clue to this it would be appreciated, but if I find the answer I will post here. I believe if you clear your cookies it will clear it, but not sure yet – that seems a bit drastic.

    Regarding the other methods that would be perfect.  In the meantime I will probably add a reset function to clear local storage for the page. As I load it by default on the page load and save everytime you leave it really needs to give the user a quick way to remove all filters and sorts to go back to default.

    Thanks for all your help Tony – it really is appreciated.

    By the way will you be release some sort of official patch release with this code in?

     

     

    in reply to: Save & Load Grid State #124227
    Chris
    Participant

    Hi Tony – that all works perfectly – thank you so much. I can now proceed and upgrade all my software and start to use some of your new features.  Excellent.

    Not related as such, but in chrome I can clear the local storage through the development tools. Have you found any way of doing it in Firefox as it does not have the same dev tools?

     

    Cheers, Chris.

    • This reply was modified 10 years, 8 months ago by Chris.
    in reply to: Save & Load Grid State #124219
    Chris
    Participant

    Hello Tony.  So the great news is that after using your jquery.jqGrid.js code from github I am now saving the excel and pdf buttons – fantastic!

    The bad news and quite sure this is something I have not done right, but the filter is still missing even though applied.  So to be clear the filter is saved, but not being redisplayed in the top of the column so you know what you have filtered on.

    Let me know if I need to download something else other than jquery.jqGrid.js or if there is anything else I can provide to debug why this is not working for me.

    Thank you so much for cracking the custom buttons!

    in reply to: Save & Load Grid State #124205
    Chris
    Participant

    Thanks Tony…  good to see.. Cheers Chris.

    in reply to: Save & Load Grid State #124190
    Chris
    Participant

    OK – appreciated. I can see you save whether excel and PDF are true or false in the local store so half way there, but I tried to work out how I could get them back myself, but my javascript skills are not that good!

    Till next week! Have a great weekend.

     

     

Viewing 15 replies - 1 through 15 (of 32 total)

Stay connected with us in your favorite flavor!