PDA

View Full Version : [CLOSED] [#1365] [4.1.0] Missing method-override for passing Collection-items as parameters.



sveins12
Aug 04, 2016, 2:36 AM
var x=Html.X();

// This doesn't work:
x.NestedList.Store(x.TreeStore());

// Workaround:
x.NestedList.Store(c => c.Add(x.TreeStore()));

// For the Grid, the Store method works as excepted:
x.Grid().Store(x.Store());


I'm not sure if I discovered the same issue on other builder-classes/methods.

fabricio.murta
Aug 05, 2016, 5:23 AM
Hello!

I believe you forgot the parenthesis on your samples for NestedList?

Anyway, thanks for the report, we'll review this! Logged as #1365 (https://github.com/extnet/Ext.NET/issues/1365) on our issues tracker!

Daniil
Aug 05, 2016, 8:49 AM
Hello @sveins12,

The builder override applying a TreeStore instance has been added. That will be included into the next release or you can grab it right away from GitHub.

Thank you for the request and interest in Ext.NET Mobile.