ww9rivers

Forum Replies Created

Viewing 5 replies - 1 through 5 (of 5 total)
  • Author
    Replies
  • in reply to: Bugs in 3.6.2? #92216
    ww9rivers
    Participant

    Oh, well. Possibly side effects of Drupal caching combined with my impatience.

    After clearing the cache on the server side and coming back to the code after lunch, it works fine.

    in reply to: Bugs in 3.6.2? #92214
    ww9rivers
    Participant

    Never mind. It seems that my problems are all caused by the fact that the language data (3.6.2/js/i18n/grid.locale-en.js) was not loaded from the server. Firebug shows that “jquery.jqGrid.min.js” is loaded but the language file is not.

    Sorry for the interruption. Will report back later.

    in reply to: Id from server #87048
    ww9rivers
    Participant

    Cool! I got it to work following this thread with edit and delete functions with the right “id” I need.

    Thanks!

    in reply to: setting editable to false #87046
    ww9rivers
    Participant

    You can do this:

    editable:true, editoptions:{readonly:true}

    for the field that you want to be posted but not really editable by the user.

    My only concern with doing this is that the field will show up when you edit the row using form edit and it will appear to the user that it is editable but it really is not. But that's an optional workaround for you.

    in reply to: Anyone using jqGrid in Drupal with jQP? #86908
    ww9rivers
    Participant

    I found my problem: I did not read the documentation careful enough, which states that:

    If you have a different path to javascript files you must change the value of the variable pathtojsfiles appropriately. This path is relative to your application (or the server application), not to jquery.jqGrid.js; so if your path to jquery.jqGrid.js is “..scripts\”, this will need to be “..\scripts\js\”.

    So I am one step closer to jqGrid.

    By the way, I think Firebug is a great tool — I initially thought that all the JS files that jquery.jqGrid.js needed were loaded. But closer inspection reveals that they are actually “not found” because the path (pathtojsfiles) was wrong.

Viewing 5 replies - 1 through 5 (of 5 total)

Stay connected with us in your favorite flavor!