I'm using the "Filter Multi Checkboxes" and I am trying to hook it up to an existing MVC Controller Action which returns JSON data but in a different structure to what is expected.
Currently my code is
columns
.Bound(p => p.Customer)
.Filterable(ftb => ftb
.Multi(
true
)
.DataSource(ds => ds
.Read(r => r
.Action(
"Customers_Read"
,
"SalesLedger"
)
)
)
);
And this expects the action to return data in this structure
[{
"Customer"
:
"John"
},{
"Customer"
:
"Bob"
},{
"Customer"
:
"Mary"
}]
[
"John"
,
"Bob"
,
"Customer"
]
Is this possible?
Thanks