hello,
this syntax shoul activate the group by functionality in igGrid.
model.testGridModel.Features.GroupBy().Type(OpType.Remote);
However, when doing this in vbhtml:
it says, that group by should use parameters, is there no groupby() functionality in vbhtml ?
perhaps you could send me the correct syntax for this case.
Hello Tobias,
Please do not hesitate to contact us if you have any further questions regarding this matter.
thank you
Hi
you won't be able to do it like this , i mean it won't work for C# and cshtml as well. Here is a snipped to enable group by in a VB.NET :
Features(Function(features) Do features.GroupBy().Type(OpType.Remote).ColumnSettings(Function(setting) Do setting.ColumnSetting().ColumnKey("StandardCost").IsGroupBy(True) setting.ColumnSetting().ColumnKey("ProductID").AllowGrouping(False) End Function)End Function)
Hope it helps. Thanks,
Angel
I get an compile error that says that there is no "groupby()" function that accepts this amount of parameters.
But I do not know, which parameter I should provide.
KFZGridModel.Features.GroupBy().Type(OpType.Remote)
Could you paste the errors you are getting? There are definitely differences and limitations when using lambda expressions in VB.NET, but in your snippet, that isn't the case so it should work fine without any changes.
Thanks