using DataCollection with functional libraries

edited July 2014 in Technical questions

Have noticed that some underscore / lodash methods can't applied to DataCollection because it doesn't have a 'length' property.

Would it be possible to implement this so that on could, for example, do:

var selected_items = _.filter($$('datatable_one').data, function (o) {  
     o.checked == true
})  

Comments

Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

In this Discussion