Loading Select Columns in Datatable

Hello,

I’m trying to load only select columns on my datatable. I have 3 columns headers (Number, Title, Date). The rows for Number will always be “1,2,3,4,5”. I only want to update the columns Title & Date using data from server.

The only example that I’ve found for this has been here http://webix.com/snippet/0b55fb88 - however, I’m unable to get it to work for me and it’s adding the new collection value to the datatable selector, which I don’t want. I’m looking for column Number to be static at all times.

Any help would be greatly appreciated!

Editor’s options are collection’s data.

Thecollection (which can be also defined asoptions property - the result will be equal) is an independent data storage for the particular column, which contains items withid/value attributes. It is bound with original data through the IDs of items. I.e.

// main dataset:
{ id:1, collectionColumn:3, ... }

// collection/options array:
{ id:3, value:"Some value" }

will render “Some value” in the corresponding cell (row:1, column:‘collectionColumn’).

select editor is linked to this logic, but for the richselect editor you can set custom options apart from the collection (using editor’s config): http://webix.com/snippet/1fb9a629