or
I've attempted sending the selected values using the parameterMap() method and including those in the returned result set, which works to some extent. But then when I use the multiselect.value() method to add another selection, the change event is not triggered and thus I cannot retrieve the new result set from the server.
Is there another way to achieve what I am trying to do? Or is it possible to manually trigger the updating of the resultset? I've tried using .trigger('change') but that doesn't reload the resultset.
Hoping someone can help!
public class MedicationChartEntry{ public string Name { get; set; } public int VerticalIndex { get; set; } public float? Dose { get; set; } public DateTime? Date { get; set; } public string DateFormatted { get; set; } public bool HasMarker { get; set; }}public class MedicationChartData{ public string MedicationName { get; set; } public List<MedicationChartEntry> MedicationEntries { get; set; }}public class ReDSChartData{ public float?[] Fluids { get; set; } public float?[] Weights { get; set; } public float?[] BNPs { get; set; } public string[] Dates { get; set; } public List<MedicationChartData> Medications { get; set; }}<div class="chart-wrapper">@(Html.Kendo().Chart<SensibleMedical.EDC.Models.MedicationChartEntry>(Model.ReDSChartData.Medications) .Name("Medications") .Title("Medications") .Legend(legend => legend.Position(ChartLegendPosition.Bottom)) .Series(series => { series .Line(Model.ReDSChartData.Medications[0].MedicationEntries) .Color("#0098ee") .Axis("Dose"); series .Line(Model.ReDSChartData.Medications[1].MedicationEntries) .Color("#0098ee") .Axis("Dose"); }) .CategoryAxis(axis => axis .Categories(model => model.DateFormatted) .Labels(labels => labels.Rotation(-45)) ) .ValueAxis(axis => axis .Numeric("Dose") .Color("#0098ee") .Min(0) .Max(70) ))</div>Hello,
Is it possible to have a DataSource read and combine from multiple json files?
Something like:
var ds1 = new kendo.data.DataSource({
transport: {
read: [
{ url: function() { return "data/Monday.json"; }, dataType: "json"},
{ url: function() { return "data/Tuesday.json"; }, dataType: "json"}
]
},
If not, is there an alternative that allows combining DataSources together?
//Update Revenue at Bid Gridvar UpdateRevenueGrid_Bid = function () { var grid = $("#RevenueBranchesAtBidGrid").data("kendoGrid"); grid.dataSource.read();};<script id="urgentRowTemplate" type="text/x-kendo-tmpl"> <tr class="urgent"> <td> ${name} </td> <td> ${reasonForCall} </td> <td> ${status} </td> </tr></script> <script id="normalRowTemplate" type="text/x-kendo-tmpl"> <tr class="normal"> <td> ${name} </td> <td> ${reasonForCall} </td> <td> ${status} </td> </tr></script>