Luigino

Forum Replies Created

Viewing 15 replies - 16 through 30 (of 46 total)
  • Author
    Replies
  • Luigino
    Participant

    HI Oleg!

    First, thanks again for your answer. Actually I tried a little test, I reduced the code to minimal to check the functionality as:

    Luigino
    Participant

    Hello OlegK,

    first thank you for your reply.

    about second datagrid, that works well… once I select a record from first datagrid (datatableoffers) and I insert a new row in second datagrid (datatableprices)

    But my problem is related in same datagrid where I tables related between them like:

    table AIRPORTS

    Luigino
    Participant

    Hello…

    no one has maybe a possible suggest to check for this little issue explained in previous posts?…

    By the way, in this case I'm using XAMPP on windows platform.

    Thanks a lot in advance.

    Ciao,

    Luigi

    Luigino
    Participant

    Hello again everyone,

    I lately I tried even to avoid addfunc and editfunc functions, and to use editurl to see what would be the behavior if different and it's the same: I see the row just inserted partially, in the specific in auto reloading grid after submit it doesn't fill those fields which are related to other tables with their relative description. On the other hand, in both cases with addfunc/editfunc and without, if I select that row just inserted, grid would select another row! So I have to reload the complete page with CTRL+F5 to see all correctly.

    Any directions would be really appreciated…. even to understand if it's a bug of 3.8 version (ah, I'm actually using XAMPP on Windows)

    Thanks in advance to everyone!

    Ciao,

    Luigi

    Luigino
    Participant

    Changed solution:

    used:

    { addfunc: function() { blah blah blah… if (true) jQuery('#grid_id').editGridRow(“new”, {options});}

    Thanks anyway

    Ciao

    Luigi

    Luigino
    Participant

    I tried even doing this:

    .navGrid('#pager',

    in reply to: navigator items #95372
    Luigino
    Participant

    Hello jboss,

    I see that use of url parameter for navGrid which I don't see it in documentation and I see you call add.php…. is that add.php a PHP function where for example you check if there are records in another table in the way you allow/disallow calling the form editing?… If yes, then how do you call the form editing from add.php?…

    thanks

    Ciao

    Luigi

    in reply to: Calling jqGrid from external file injected in a #95176
    Luigino
    Participant

    Nevermind… solved it by myself…actually!

    Practically I did:

    <—- Where in this jQuery I had

    to be sure it was included whatever is necessary for use selecting in download manager page

    then:

    <select name="selecttable" id="selecttable"

    onChange=”$('#datatable').GridUnload('#datatable'); $.getScript(ajaxcombo('selecttable'))”>

    […]

    in this way it doesn't need explanations…

    Now I'm going to implement the code relative to manage tables and stuffs… 🙂

    Thanks anyway tony and compliments for your plugin again 🙂

    Be cool!

    Ciao

    Luigi

    in reply to: Calling jqGrid from external file injected in a #95175
    Luigino
    Participant

    Hi tony again…

    I figured out the issue is another issue… precisely: in the documentation I saw to use GridUnload I should use grid.loader.js which contains the .js that has the function GridUnload. So I removed the line about loading jquery.jqGrid.min.js since it's supposed to be already loaded by grid.loader.js….and it's supposed to create grid the function should be the same as like :

    jQuery(document).ready(function(){

    jQuery(“#list”).jqGrid({

    url:'example.php',

    datatype: 'xml',

    mtype: 'GET',

    colNames:['Inv No','Date', 'Amount','Tax','Total','Notes'],

    colModel :[

    {name:'invid', index:'invid', width:55},

    {name:'invdate', index:'invdate', width:90},

    {name:'amount', index:'amount', width:80, align:'right'},

    {name:'tax', index:'tax', width:80, align:'right'},

    {name:'total', index:'total', width:80, align:'right'},

    {name:'note', index:'note', width:150, sortable:false}

    ],

    pager: '#pager',

    rowNum:10,

    rowList:[10,20,30],

    sortname: 'invid',

    sortorder: 'desc',

    viewrecords: true,

    caption: 'My first grid'

    });

    });

    But it doesn't appear…if I load jquery.jqGrid.min.js indeed it appears (but looks like can't unload it). Why?…I am on apache+mysql+php under windows actually before to upload on linux host… might be that cause?…

    Thanks in advance and sorry for this but maybe the documentation doesn't explain about this possible differences…or yes?…

    Ciao

    Luigi

    in reply to: Calling jqGrid from external file injected in a #95162
    Luigino
    Participant

    found the solution: had just to put jQuery(document).ready(function(){…});

    in reply to: Formatted text #85361
    Luigino
    Participant

    Hello everyone….

    for who has problems with characters like

    in reply to: Formatted text #85357
    Luigino
    Participant

    No one knows the answer about my question on ISO-8859-1 and new line characters?…

    Thanks…

    Luigi

    in reply to: Formatted text #85324
    Luigino
    Participant

    Hello tony,

    I mean when you write something, then go in a new line, then write something again…then in the front it should appear as like I wrote but it shows as like it is in the same line…

    So I am asking if maybe ISO-8859-1 doesn't support new-line-characters (like that \n in C++'s printf)?…

    Thanks,

    Luigi

    Example:

    I write in the grid text field:

    “I eat an apple.

    I eat an apple.”

    On the front it shows as like:

    “I eat an apple. I eat an apple.”

    in reply to: Formatted text #85301
    Luigino
    Participant

    Hello tony,

    as you know, iso-8859-1 should save also carriage return characters?….because I see correctly those letters

    in reply to: Formatted text #85164
    Luigino
    Participant

    Hello tony!

    Sorry to reply so late but I was hardly busy…anyway I figured out about those letters òàùèéì and now I read them OK but seems it doesn’t save/read correctly the carriage return character… maybe the iso-8859-1 encoding doesn’t support it?….

    Thanks
    Ciao
    Luigi

Viewing 15 replies - 16 through 30 (of 46 total)

Stay connected with us in your favorite flavor!