tony

Forum Replies Created

Viewing 15 replies - 7,951 through 7,965 (of 7,981 total)
  • Author
    Replies
  • in reply to: Edittype:select problem in IE #81948
    tony
    Keymaster

    Hi,
    For me all work fine in IE. Instead of that I will look again into the code.
    You can look at final prevew of jqGrid here:

    http://www.trirand.com/gridpreview/jqgrid.html

    Regards

    in reply to: Grid error in IE #81945
    tony
    Keymaster

    Hi,
    Try to put in first column in colNames some data – something like this:
    colNames:,
    instead of
    colNames:,

    in reply to: Help-How can remove all rows? #81943
    tony
    Keymaster

    To remove rows manually:


    var = id_s = jQuery("#table_id").getDataIDs();

    for(var i = 0; i < = id_s.length; i++)
    jQuery("#table_id").delRowData(id_s);
    }

    in reply to: why loadComplete not work? #81942
    tony
    Keymaster

    You can not do this way, but you can do this this way:

    1. loadComplete : function () { a },...
    function a () {alert(1)}
    or
    2. loadComplete: a,....

    var a = function() {alert(1)}

    in reply to: Support for right-to-left direction #81936
    tony
    Keymaster

    Nima,

    Could you please tell me what does not work correctly?

    Regards
    Tony

    in reply to: queston about width and height #81935
    tony
    Keymaster

    trollskog,

    This behavior can be controlled with CSS.
    Access the style sheet and find: table.scroll tbody td item.
    The four parameters with which you can experiment are

    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
    height : auto;

    Note that text-overflow is property only for IE.

    Regards
    Tony

    in reply to: question about search in bigset #81933
    tony
    Keymaster

    trollskog,

    The behavior should be changed at server side, not at client side.
    In server side code you maybe may use LIKE %string% and not LIKE string%. Example

    SELECT fld1, fld2 FROM table WHERE fld1 LIKE ‘hou%’ will give you all rows that begin with hou. An the other side:
    SELECT fld1, fld2 FROM table WHERE fld1 LIKE ‘%hou%’ will give you all rows that contain hou.

    Regards
    Tony

    in reply to: roadmap #81932
    tony
    Keymaster

    jmdavid,
    Thank you for pointing me of plugin repository.
    I check the new plugin site – the jqGrid is still available, but not visible – I do not know why.
    About the release. The most tasks are done, but they need a serious testing. The hardest task is documentation. Hope to finish all to end of nex week. I do not known, but maybe is better to publish the new features for testing in this site.

    regards
    Tony

    in reply to: roadmap #81929
    tony
    Keymaster

    jmdavid,

    I’m working hard in the moment of jqGrid.
    The changes are:
    1. Refactor the grid – the grid have now modular structure. The reason for this is that the code is going bigger and is out of control. We would have – basic grid and then module subgrid, module inline editing and the new module navigator – add,edit,delete,search grid.
    2. Better documentation – the missing part
    3. Of course correcting a couple of bugs.

    Regards
    Tony

    in reply to: change url #81928
    tony
    Keymaster

    dedi,

    Currently is not possible to convert Querystrings to flat keyword. The ajax requests are send via the pair name value.
    As I see you use php and maybe Apache. With Apache you can use mod_rewrite to do that in .htaccess file.

    Another possible solution is to use global $.ajaxSetup and beforeSend callback. In this callback you can grab the url and convert it to flat keywords. For more details see jQuery documentation
    Regards
    Tony

    in reply to: rich cell attribute #81927
    tony
    Keymaster

    dian,

    About second request:
    Currently you can do that – just in jqGrid options type: mtype:”POST” and all ajax requests will be via POST. The default value of this option is GET.

    If I understand right you want to put additional attributes in the TD of each column. Currently not possible. I will think about this in next release. This can be for TR too. Since the parameters in colModel going to be grow we must make another decision about this.

    Regards
    Tony

    in reply to: Editable Field #81926
    tony
    Keymaster

    Hi,
    You can do that. Just in colModel set the flowing:

    colModel = [{name:"somename"....editable:true,editoptions{readonly:true}},
    ...
    ]

    Enjoy

    in reply to: Row Editing Example #81925
    tony
    Keymaster

    Hi,

    Please check the new feature grid as subgrid in the example page in section Advanced. Note that you can download the new feature only from this site – Download-> Last Revision of jqGrid

    Tony

    in reply to: reloadGrid + cache problem (IE,Mozilla) #81921
    tony
    Keymaster

    I do not have idea, but could you please try to pass to the ajax url a additional parameter new Date().getTime() instead of cache: false

    Regards
    Tony

    in reply to: reloadGrid + cache problem (IE,Mozilla) #81919
    tony
    Keymaster

    Hi,
    Could you please try with complete – i.e. –

    jQuery.ajax({ url: ‘deleteRemedialAction.php?&raid=’+lastsel2, cache: false,
    complete: function(html){
    j(‘#remedialActionTable’).trigger(“reloadGrid”);
    jQuery(“div.statusbar”).append(html);

Viewing 15 replies - 7,951 through 7,965 (of 7,981 total)

Stay connected with us in your favorite flavor!