Johannes Geppert

Forum Replies Created

Viewing 15 replies - 1 through 15 (of 15 total)
  • Author
    Replies
  • in reply to: JQGrid cannot load JSON data from struts 2 action #99967
    Johannes Geppert
    Participant

    I guess the problem is your jqGrid instance does not know where it can find the records in your result.

    in reply to: Problems with resizable #97535
    Johannes Geppert
    Participant

    Hi Tony,

    you are right. Here the environment:

    jQuery: 1.5.1

    jqGrid: 3.8.2

    jQuery UI: 1.8.9

    Browser: firefox 3.6.x

    So far I see it does not happens in IE8. On the jqGrid Demo Site it works nice with firefox.

    Johannes

    in reply to: Grid with inline Editing produce JavaScript Error in IE7 #94749
    Johannes Geppert
    Participant

    problem is solved, the error is not located in the jqGrid sources.

    it was a wrong call of a jqGrid function.

    Thank you for supporting me.

    Best Regards

    Johannes Geppert

    Johannes Geppert
    Participant

    yes this produce a lot of errors because this is the ajax result in the showcase without the header.

    But in the source code you can see the javascript options object that is given to jqGrid.

    currently the non minfied version is not part of the plugin so i must make some changes

    in the struts2 jquery grid plugin. I will inform you when the version with non minfied jqgrid

    is available.

    Best Regards

    Johannes

    in reply to: Advanced search in jquery plugin for struts #94107
    Johannes Geppert
    Participant

    currently you can only enable this with plain javascript.

    paste this fragment after your

    $("#yourGridId").jqGrid('searchGrid', {multipleSearch:true} );
    });

    I will implement an better way in one of the next versions.

    Best Regards

    Johannes Geppert

Johannes Geppert
Participant

you can see the generated output when you take a look at the sourcecode of this showcase example.

http://www.weinfreund.de/struts2-jquery-showcase/grid-edit.action

thi is the action that is loaded via ajax.

with the generated options object the javascript above will work and

call with this your jqgrid plugin.

Best Regards

Johannes Geppert

in reply to: Grid with inline Editing produce JavaScript Error in IE7 #94083
Johannes Geppert
Participant

Hello Tony,

thank you for the answer. The struts2 code that runs the jqgrid feature can you see here:

http://struts2-jquery.googlecode.com/svn/trunk/struts2-jquery-grid-plugin/src/main/resources/template/js/struts2/jquery.grid.struts2.js

But currently I don't have an idea why the struts2 jquery code can be the problem,

because it works in other browsers and the struts2 jquery plugin is only a wrapper for the

jqgrid options.

Best Regards

Johannes Geppert

in reply to: Showlink does not work #92317
Johannes Geppert
Participant

Other Formatters like Link, Date, Integer working. Is showlink in an differnt modul?

Best Regards

Johannes Geppert

in reply to: Showlink does not work #92279
Johannes Geppert
Participant

in reply to: Showlink does not work #92278
Johannes Geppert
Participant

in reply to: how can I have the total (footerData)? #92199
Johannes Geppert
Participant

in your json result you must return an array userdata.

$responce->userdata['pie'] = $piesum;

json_encode($responce);

in reply to: Showlink does not work #92198
Johannes Geppert
Participant

It does not render a link. When i use a custom formatter I can render a Link,

also when I use the link formatter.

But when I use the showlink formatter I got only a cell with value but it is not

rendered as Link.

I try it with various combinations of formatoptions but no way.

Are there any dependencies to use this formatter?

Thanks for your help

Johannes

in reply to: About Struts2 jquery plugin #92144
Johannes Geppert
Participant

A good way to find out what jqGrid sends to the Server is to use Firbug or similar tools.

Choose Network -> XHR and try to delete your Grid Entry.

In the Post Tab of your Request you can see the paramters.

I sugegst that the ID always has the Name id and not id_auditorio.

Hope it helps

Johanens Geppert

in reply to: Showlink does not work #92110
Johannes Geppert
Participant

I try it like your suggestion with this

But without Success. Are there any prerequistes for showlink formatter?

I have read your Example, why there is set the formatter to “select”instead of “showlink” in the Wiki?

in reply to: strut2 jquery plugin – grid table – 2 questions #92079
Johannes Geppert
Participant

To your first Question:

Create an Simple Struts2 Action like this:

public class CustomerCountrys extends ActionSupport {

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

Stay connected with us in your favorite flavor!