Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
1115
setCellValue of hidden column during filling a new row
posted

Hello,

we enter some number into a cell and at leaving this cell, we fire an ajax request to autocomplete some cells in this row. this works good for existing rows (rowid exists on tr data-id) and also for new rows (no row id).

our setValue wrapper for existing and new rows:

setCellValue: function (gridId, rowId, colKey, value) {
if (rowId == undefined || !rowId || rowId == "") {
$("#" + gridId).igGridUpdating("editorForKey", colKey).igEditor("value", value);
} else {
$("#" + gridId).igGridUpdating("setCellValue", rowId, colKey, value);
}
}

problem: we also need to set values to hidden columns. this works, if the hidden cell is not in a new row, an id exists. writing into a hidden cell using "editorForKey" does not work, because there is no editor for a hidden cell.

any idea how to resolve this issue? we prefer nice solutions :) (without setting some global stuff and setting cell at rowEditingEnded or so.. :) )

thanks in advance.

Parents
  • 1905
    posted

    Hello Max,

    Thank you for contacting Infragistics!

    We received your support request concerning autocompletion of cells in the igGrid, and I have been assigned to assist you on the matter. Infragistics is dedicated to helping you solve this issue. Our team and I have done an initial review of your request and I will be researching the behavior you are describing to try and find an alternative for you.  I will get back to you by the end of the day tomorrow with more information or questions for you.

Reply Children