jQWidgets Forums

jQuery UI Widgets Forums Grid Nested grid using Knockout Reply To: Nested grid using Knockout

Nested grid using Knockout #24026

gaclique
Participant

Added the datafields doesn’t make any difference. I was able to get the data to show correctly by using a cellrenderer like below

            var cellsrenderer = function (row, column, value, columnproperties) {
var displayValue = value();
return displayValue;
}

The issue i have now is that when i make changes to my Knockout model, the content in my nested grid doesn’t update automatic. Seems like it’s not subscribing correctly or something and I have to manually call refreshdata on my grid to have the data update on the UI.

Seems like the nested grid behaves differently from a regular grid when binding to observable array.