tony

Forum Replies Created

Viewing 15 replies - 7,771 through 7,785 (of 7,981 total)
  • Author
    Replies
  • in reply to: Summary rows #82313
    tony
    Keymaster

    Look here
    http://www.trirand.com/blog/index.php?pagename=forum&rs_discuss_where=topic&rs_discuss_forum=discussion&rs_discuss_topic=105&recent=479

    Download the jqGrid32-test
    and use afterInsertRow
    I supposse that the id of summary row is something like
    sum1,sum2….

    afterInsertRow:function(rowid)
    {
    var sumrow = rowid.toLowerCase().substr(3)
    if ( sumrow == “sum”)
    {
    jQuery(“#”+rowid,”the_id_of_the_grid”).addClass(“myclass”);
    }
    }

    Regards
    Tony

    in reply to: Summary rows #82311
    tony
    Keymaster

    Some implementation can be done with subgrid module where the main columns are the summary (data is all form server) and the subgrid has a detail lines.

    I plan to include in the next releases (not in the upcomming) treegrid which will do that very easy

    Regards
    Tony

    in reply to: Sorting date columns / date formatting #82310
    tony
    Keymaster

    Patrick,
    I think that the right place of displayFormatter function should be in formatColl function .
    Now the formater function is a very good idea and I will try to implement it in the next release (if posssible).

    Having this you can try to work on parseDate function to accept strings.
    For now it accepts only numbers.

    Regards
    Tony

    in reply to: Images as grid values #82309
    tony
    Keymaster
    in reply to: Add new row not working properly after delete row? #82308
    tony
    Keymaster

    This is the default behavior.
    If you do not set the id send from the server the jqGrid add row with a number of records + 1. So it is possible in this case to have duplicate id’s.
    You can use the third parameter in afterSubmit row event to set the correct id (i.e. the id from the server)

    For more info see docs

    Regards
    Tony

    in reply to: Fixed Column #82306
    tony
    Keymaster

    You can simulate this if using the new toolbar option
    i.e
    toolbar :[true,”top”],

    In this tool bar you can add what you want.

    See demos
    Regards
    Tony

    in reply to: Column names in big table IE problem #82304
    tony
    Keymaster

    Open the grid.css style sheet.
    Find
    table.scroll thead th div
    replace the property
    white-space: nowrap;
    with
    word-wrap: break-word;

    This should work in IE and FF
    Regards
    Tony

    in reply to: Typo in grid.formedit.js #82303
    tony
    Keymaster

    alche,
    Thank you. Corrected.

    Regards
    Tony

    in reply to: Searching big sets with xml #82301
    tony
    Keymaster

    Go into Documentation page Select:
    jqGrid jQuery Grid->Data Types->XML Data->xml file

    Regards
    Tony

    in reply to: datePicker in search form #82300
    tony
    Keymaster

    Currently this is not possible due to the fact that we do not have events when constructing a search form.
    This is feature will be added in next release.

    Regards
    Tony

    in reply to: About Printing #82299
    tony
    Keymaster

    Direct print is not supported.
    You can print what you want using the methods for obtaining the data i.e. – getDataIDs and getRowData methods – that is array of data which can be converted to what you want. Again with this you can obtain the needed parameters with getGridParam methods

    Regards
    Tony

    in reply to: Width of the table #82296
    tony
    Keymaster

    Miguel,
    Currently this is not possible. Only in pixels.
    You can set only the height in percentage – (but you will trouble in Sfari 3). See Documentation about this.

    Regards
    Tony

    in reply to: Make a column non-searchable? #82295
    tony
    Keymaster

    By default all cols are searchable. You can disable this when you set in colModel the option search: true or false – see Documentation

    Regards
    Tony

    in reply to: editoptions with array #82294
    tony
    Keymaster

    Cristina,

    If you construct the grid initially (first time) you can use a php script to do that. i.e

    colModel:[{name:myname,… editoption:{here is the php script}…}]

    This is only the first time.
    If you want this to be a dynamically on every request you can use userdata option in xml or json data from the server. See documentation. This is a array which can be used again with a setGridParam after every request is done. If you need help please let me known

    Regards
    Tony

    in reply to: Table resize #82292
    tony
    Keymaster

    This will not work. The way of calling is not correct too –
    the table is enclosed in div so setting the width of table does not have effect.
    Currently you can not set the width of grid dynamically

    Regards
    Tony

Viewing 15 replies - 7,771 through 7,785 (of 7,981 total)

Stay connected with us in your favorite flavor!