dhubenov

Forum Replies Created

Viewing 7 replies - 1 through 7 (of 7 total)
  • Author
    Replies
  • in reply to: auto complete #96499
    dhubenov
    Participant

    Just an update to the last post:

    The examples file now includes both form- and inline-editing examples.

    In order to use autocomplete plugin with inline editing you just need to modify this part:
    .result(function(e, item) {

    in reply to: auto complete #96496
    dhubenov
    Participant

    Hi Antonia,

    If you have another look at post #2 you'll see the following code:

    in reply to: auto complete #96464
    dhubenov
    Participant

    Antonia,

    You are right. It is my mistake in post #2.
    The correct line is:

    .result(function(e, item) {

    in reply to: auto complete #95974
    dhubenov
    Participant

    Hi, bhoomi

    Have a look at this line:

    return $.map(data, function (item) {…});

    At this point data is just a STRING containing JSON object… so for us to be able to use the object – we need to convert the string using eval() function.

    So I think the solution for your trouble is to modify the line like:

    return $.map(eval(data), function (item) {…});

    Please post a reply if this fixes the issue.

    in reply to: Version 3.5 Edit Grid Edit Url #88476
    dhubenov
    Participant

    restoreRow() – restores the data to original values before the editing of the row.

    Use saveRow() instead

    in reply to: Method to call add/edit/delete button in the nav bar #88475
    dhubenov
    Participant

    krisreddy,

    Have a look at the wiki .

    In short – if you need a link to open a form to edit a row, just make it like this:

    <a href"javascript:jQuery('#grid_id').editGridRow( rowid, {properties} );”>link text

    Where:
    #grid_id – the id attribute of the grid holder (

    ),
    rowid – the id of the row to be edited

    in reply to: auto complete #88422
    dhubenov
    Participant

    Hi redsuitee,

    It's quite easy job. You probably already have found the solution for this problem but it may be usefull to someone else too.
    First of all you'll need an autocomplete jQuery plugin. I would recomend

Viewing 7 replies - 1 through 7 (of 7 total)

Stay connected with us in your favorite flavor!