or
var dsCharges = upshot.RemoteDataSource({
providerParameters: { url: constants.serviceUrlItem, operationName: "UpdateCharge" },
provider: constants.provider,
entityType: "Charge:#My.Models"
}).refresh();
ko.applyBindings(new ChargeViewModel(dsCharges));
As you can see above, I am using a datasource binding to populate my grid. Data is displayed on my grid.
I need help to format my data which are of type money and datetime.
How do I format it using knockout.js? Can you please show me an example code snippet on how to do this?
Many thanks,
commands.Custom().Text("Clear Filters").Name("clear-filters");