glemarie

Forum Replies Created

Viewing 15 replies - 31 through 45 (of 48 total)
  • Author
    Replies
  • in reply to: scroll into view #87785
    glemarie
    Participant

    Hi,

    I use scrollrows:true and setSelected, but the grid does not scroll dynamically (the row is correctly selected). My code is :

    in reply to: Bug with setSelection / jqGrid 3.5 / jQuery 1.3.2 #87783
    glemarie
    Participant

    Sorry, my mistake : I'm trying to reproduce

    in reply to: cell edit and save #87771
    glemarie
    Participant

    Hi,

    Not sure to understand your need. Did you add the “cellEdit: true” option ? the URL specified in the “cellurl” parameter should then be called : the name of the modified field + the rowid are POSTed to this page.

    in reply to: clearSearch and select elements #87701
    glemarie
    Participant

    Thanks Tony, I saw this option but never managed to make it work.

    In fact I found that the value to specify should be the displayed value and not the real “value”, the example in the documentation is not clear enought :

    editoptions:{value:'Yes:Yes;No:No'}, defval:'Yes'

    It would be more clear with something like that :

    editoptions:{value:'1:Yes;0:No'}, defval:'Yes'

    Now it's ok for me 🙂

    in reply to: Scroll and sort problem #87593
    glemarie
    Participant

    Hi Tony,

    Thanks a lot, it seems OK ! Great work.

    Regards.

    in reply to: Scroll and sort problem #87590
    glemarie
    Participant

    Hi Tony,

    I suppose my explanation was not so clear… And by the way I made some more tests.

    I use the Autoload. When I sort a column, the ajax request is : page 1, x rows, and the new specified sort order.

    But in fact, the already loaded data is not cleared form the grid and the new result is added. For exemple, I have a total of 6 records (a, b, c, d, e, f) and my grid shows 3 rows (a, b, c). Then I click on my column to sort in reverse order. I then have a, b, c (the previous rows), f, e, d (the first page of my new request) in ly grid.

    But I also found while testing that sometimes, it works (the grid is correctly emptied). It seems to vary depending on the data (column value empty or not ?). I made a test with 3 basic columns (text content, sometimes empty) and I can't find any rule… But with these 3 columns (more simple data than the code in my first post) it works nearly all the time.

    I hope my exmplanation are not too “ugly”…

    Thanks for tour time

    in reply to: Scoll:true and search #87553
    glemarie
    Participant

    Hi Tony,

    Could you tell us if this case will be solved in the 3.5 release ? I still have it with the build 10.

    Thanks

    in reply to: getGridParam(‘selarrrow’) returns rows number #86317
    glemarie
    Participant

    Hello again,

    Forget my question : its an error in my PHP script…

    Thanks

    in reply to: Style Conflict with jQuery UI elements #85451
    glemarie
    Participant

    Hello,

    I'm trying to integrate my pages containing jqGrid tables in UI/Tabs.

    I use the ajax loading for each tab. In the first tab tables are displayed correctly, but on other pages, tables are not correctly displayed.

    In fact, with Firebug I can see that data is present in the tables but all is white (text, borders, etc.). I can only see table title and everything else is invisible. Moreover, it's not only a color problem : mouse pointer is not modified when moving over what should be headers, columns, etc. But when in “inspect” mod on firebig, I can see the elements location highlighted.

    Any idea on the cause of this ? Did you find anything concerning tonromeyn problem ?

    in reply to: Search problem since 3.4.1 #85433
    glemarie
    Participant

    Finally I found the problem : I added a “scroll:true” parameter in my grids (while testing 3.4 beta) and didn't removed it.

    Without this parameter (or at “false”), the results are correctly displaying.

    in reply to: Search problem since 3.4.1 #85428
    glemarie
    Participant

    I use the filterGrid method. For example :

    jQuery(”#t_listCandidat”).height(25).filterGrid(”listCandidat”,{gridModel:true,gridToolbar:true,gridNames:true,enableClear:false});

    When filters are initialized on page load via JS, and the the triggerSearch method is run, the search works fine :

    $('#contentCandidat').find('#”.$key.”').val('”.$val.”');
    jQuery(“#listCandidat”).setGridParam({datatype: 'json'});
    var cs = jQuery('#t_listCandidat')[0];
    cs.triggerSearch();

    in reply to: Search problem since 3.4.1 #85422
    glemarie
    Participant

    Unfortunaletly no : its on an intranet whith no access from outside…

    What could I provide to you ? The PHP code of page displaying a table ?

    in reply to: printing support #85351
    glemarie
    Participant

    Hi,

    I needed this functionality too. What I did is that I added a “print” button in the toolbar.

    Then with jQuery, I clone jqGrid table in a new window (a bit dirty to find the table, but It works, even if you have multiple tables on your page) :

    // Parent container of the “list” DIV (In my case, I have a DIV includind all elements of a jqGrid table)
    var idMasterDiv = $('#'+gridName).parent().parent().attr('id');

    // Find jqGrid table to print
    $('div[id^=”jqgh”]').each ( function() {

    in reply to: “Group by” feature #85350
    glemarie
    Participant

    I would also appreciate this functionnality 🙂

    Thanks for all.

    in reply to: Initialize search grid #85044
    glemarie
    Participant

    Thanks a lot !! It does the job !

Viewing 15 replies - 31 through 45 (of 48 total)

Stay connected with us in your favorite flavor!