Editor .NET - Optimize Distinct for duplicate tables
Editor .NET - Optimize Distinct for duplicate tables
![washuit-iamm](https://datatables.net/forums/uploads/userpics/815/n98N6RFCUE9EE.jpg)
in Editor
The following code results in multiple DISTINCT to same table:
.Field(new Field("InventoryServer.OSLevelId")
.SetFormatter(Format.IfEmpty(null))
.Options(new Options()
.Table("Product")
.Value("Id")
.Label("Name")
)
)
.Field(new Field("InventoryServer.ModelId")
.SetFormatter(Format.IfEmpty(null))
.Options(new Options()
.Table("Product")
.Value("Id")
.Label("Name")
)
)
Is there a way to tell Editor .NET and Editor Client to reference the same options collection?
This question has an accepted answers - jump to answer
Answers
At the moment, no there is not, sorry. Antler good idea for future enhancement though.
Allan