guriddo.support

Forum Replies Created

Viewing 15 replies - 751 through 765 (of 1,092 total)
  • Author
    Replies
  • in reply to: another refresh grid issue #125310
    guriddo.support
    Participant

    Hello,

     

    I think I should explain what is happen.

     

    When you do loadonce true the datatype becomes local and the grid sorting paging and etc are performed with the local data array, but the editing is done on the server. This mean that all CRUD operations are done server side via ajax.

     

    By default reloadAfterSubmit is true which means if the posting of the newdata is server side the grid expects, that reloading is done server side, but it is not since loadonce dynamically chnaged this.

     

    In order to resolve your problem you must set reloadAfterSubmit to false. This causes the new data to be manipulated with the local grid functions and in the samne time the data to be posted on the server.

     

    Simple do this:

     

     

     

    which will resolve the problem. In this case there is no need to put additionally reloadGrid in any code.

     

    Kind Regards,
    Will

    Guriddo Support Team

    in reply to: SubGrids with Grouping #125309
    guriddo.support
    Participant

    Hello,

     

    Both features can exists in the same time. Can you please send us a simple code so that we see what is happen?

     

    Thank you.

     

    Kind Regards,

    Will

    Guriddo Support Team

    in reply to: setcolproperty editable on certain condition #125305
    guriddo.support
    Participant

    Hello,

     

    The setColproperty is executed only once when the grid initializes – i.e when the script is executed for first time.

     

    All other subsequent calls does ignore executing thus script.

     

    Please do not mix PHP code with JavaScript one.

     

    You may need to use some JavaScript code to change the editable property – i.e use setColProp JavaScript to change this property. Note that in case you use Form Editing you must set recreateForm to true.

     

    Kind Regards,

    Will

    Guriddo Support Team

    in reply to: treegrid PHP Add and Edit does not update grid #125299
    guriddo.support
    Participant

    Hello,

     

    Just to know in the future – you can download the code from GitHub if you click on Download button. After unzipting you will find the desired files jquery.jqGrid.js and jquery.jqGrid.min.js in JS subdirectory.

     

    Kind Regards,

    Will

    Guriddo Support Team

    in reply to: test #125298
    guriddo.support
    Participant

    Hello,

     

    I’m not sure that I understand the question.

    The PHP setSelect command is executed only once when the grid initializes. All other reloads, search and etc do not executes setSelect, so that that it refresh its values (If I understand the problem right).

     

    Maybe solution with JavaScript code will solve the problem.

     

    Kind Regards,

    Will

    Guriddo Support Team

    guriddo.support
    Participant

    Hello,

     

    The code you posted is not good seen. When try to post code switch to text mode (not Visual as show in upper right corner of editor), mark the text and select code button at toolbar.

     

    You can try to use dataInit event to bind this plugin. By example you can try

     

     

    Maybe $(element).chosen() should be set in setTimeout in order to have time to load the data from server.

    Kind Regards,
    Will

    Guriddo Support Team

    in reply to: jqgrid in Joomla #125279
    guriddo.support
    Participant

    Hello Alain,

     

    To be a honest I don’t know. Not sure that I understand the problem.

    Could you please explain it again?

     

    Thank you

     

    Kind Regards,

    Will

    Guriddo Support Team

    in reply to: treegrid PHP Add and Edit does not update grid #125278
    guriddo.support
    Participant

    Hello,

     

    Thank you very much for pointing this problem.

     

    Actually there was a smal bug and not good prepared example.

    Because of the not autoloading nodes the treedatatype is local and reloading does not have effect. To work this we should disable reload after submit and add a code to put the returned id from the server.

     

    Here is the modified example and here is the fix in gitHub

    You may need to download the fixed code from GitHub and add the missed code in the example.

    Do not forget to clear the browser cache before check the fixed example.

     

    Kind Regards,

    Will

    Guriddo Support Team

    in reply to: apply custom scrollbar to all grid globally #125277
    guriddo.support
    Participant

    Hello,

     

    To be a honest we never try such plugin and do not know if this will go without problems.

    You can try to apply this plugin after the grid initializes – and data is loaded (gridComplete is NOT recommended). you can apply this to ui-jqgrid-bdiv class.

     

    Actually you can try :

     

     
    We will try to test this too.
     
    Kind Regards,
    Will

    Guriddo Support Team

    in reply to: applying different theme of each grid #125270
    guriddo.support
    Participant

    Hello,

     

    The question I think is too common.

     

    The grid uses it own CSS again with the used CSS framework.

     

    To remove the styling you can not include the css, but this will remove the styling of all the grids in the page. With other words it is not possible to have two or more grids on a page and apply a different style for each.

     

    What you can do is to disable some properties of a certain grid knowing the id of the grid.

    By example if you have id’s grid1 and grid2 the to disable the bordering of the grid1 you can

     

    Some example you may see here

    Kind Regards,
    Will

    Guriddo Support Team

    in reply to: Master Detail grid and inline editing #125269
    guriddo.support
    Participant

    Hello,

     

    In navGrid when you set del:true you can set additional delete parameters. This is the 4 parameter object:

     

     

     

    Kind Regards,
    Will

    Guriddo Support Team

    in reply to: Searchoptions grid.locale-de #125258
    guriddo.support
    Participant

    Hello,

     

    Glad to hear that it is working now.

     

    Thanks for the recommendation. Will be fixed.

     

    Kind Regards,

    Will

    Guriddo Support Team

    in reply to: Searchoptions grid.locale-de #125256
    guriddo.support
    Participant

    Hello,

     

    Sorry to be unclear. You will need just to replace grid.locale-de.js freom here: https://github.com/tonytomov/jqGrid/blob/master/js/i18n/grid.locale-de.js

     

    Nothing more. We tested with this file and it seems to work fine for us. Do not forget to clear the browser cache after replacing the locale file.

     

    Kind Regards,

    Will

    Guriddo Support Team

    in reply to: Searchoptions grid.locale-de #125253
    guriddo.support
    Participant

    Hello Tom,

     

    Thank you for reporting this bug. Incidentally a unneeded comma was put in odata property of search options in German locale.

     

    We have fixed the problem in GitHub

     

    You can download the new build from GitHub or simple the fixed German locale.

     

    Please let us know if the problem is fixed.

     

    Kind Regards,

    Will

    Guriddo Support Team

    in reply to: trouble sorting dates #125244
    guriddo.support
    Participant

    Hello,

     

    First of all thank you for sending the test case with the data.

     

    Having this for us was possible to find the problem. Actually you have a lot of worg setting in the code.

     

    1. You have definition in colModel without names. This is not allowed. Moreover the names must be unique.
    2. formatter date is missed to be set.
    3. the definition of the datefield in colModel is wrong
    4. You have one more field with the same name – In your mode search for a “OrdersDateSubmitted” field you will find two one which actually the problem.

    In order to work your code

    In colModel give unique names of the empty fields something like this:

     

     
    Change the name of the field

     

    to something other like
     

     

    and finally define the field OrdersDateSubmitted like this:
     

     

    With these settings your code work as expected at our end. If you have trouble, please let us know we will send you the fixed code.
     
    Kind Regards,
    Will

    Guriddo Support Team

Viewing 15 replies - 751 through 765 (of 1,092 total)

Stay connected with us in your favorite flavor!