I am evaluating igniteUI for use in our project. We use knockout heavily throughout for client behavior. Is there an example that adds/deletes rows from a grid when that grid is bound to a knockout observablearray?
Attached a working sample. Going through the objects in VS, when adding an object to the bound observablearray the tmpDataSource of the grid contains the correct entries but the actual datasource/data/dataview objects never get refreshed even after calling dataBind().
Hello Chad,
Normally customers can download latest Service Releases by Log In in their account and select their registered keys.
If you do not have such product registration (available when you purchase the product) you have two options:
- Use platform installer (“NetAdvantage 2012 Vol. 2 Platform Installer” from download page) and on Confirmation step (available when you click Customize on Product Selection step) check “Install with the latest update available” checkbox. This will install the product with the latest Service Release available (build 2056).
- I can create a new Support Case for you and give you private link from where you can download the latest Service Release for evaluation purposes only.
Test the first option and if you were unable to install the latest Service Release let me know.
Our subscription currently only covers netadvantage for asp.net and winforms, I am evaluating igniteUI through your trial download. Are the trial bundles updated with the latest service release code? If not how would/should I go about getting the latest service release code?
Thanks,
Chad
Hi there,
Thanks for investigating this. The code that you are seeing has been fixed on our end at the end of November. This means that if you pull the latest service release you should no longer be experiencing this issue.
Thank you for using the Infragistics forums!
From what I can see there is a bug in the version of infragistics.datasource.knockoutjs.js file I have (which is the latest trial download) in the internal _addrow function the call to _super appeared to have the parameters switched around. The bolded lines below are what I changed and the grid appears to reflect my newly added observable item throughtout all data/datasource and dataview items. Could you please confirm?
_addRow: function (d, c) {
var b = this.kods;
b = ko.isObservable(b) ? b() : b;
if (this.settings.responseDataKey && b[this.settings.responseDataKey]) {
b = b[this.settings.responseDataKey] }
if (ko.isObservable(b)) {
if (!this._koUpdate) {
b.push(d) } else {
this._koUpdate = false;
this._super(d, c)
}
} else {
//CGG
//this._super(c, d)
Konstantin just wondering if you have had chance to investigate further.
Thanks.