예제 #1
0
 public Dictionary <string, object> InitializeClient(Dictionary <string, object> jsonResult)
 {
     this.BindData();
     return(pivotClient.GetJsonData(jsonResult["action"].ToString(), ProductSales.GetSalesData(), jsonResult["clientParams"].ToString()));
 }
        public Dictionary <string, object> ChangeSummaryType(Dictionary <string, object> jsonResult)
        {
            pivotClient.PopulateData(jsonResult["currentReport"].ToString());
            var dictionary = pivotClient.GetJsonData(jsonResult["action"].ToString(), ProductSales.GetSalesData(), jsonResult["summaryType"].ToString());

            return(dictionary);
        }
예제 #3
0
        public Dictionary <string, object> ToolbarOperations(Dictionary <string, object> jsonResult)
        {
            Dictionary <string, object> dict = pivotClient.GetJsonData(jsonResult["action"].ToString(), ProductSales.GetSalesData(), jsonResult["args"].ToString());

            return(dict);
        }
 public Dictionary <string, object> Sorting(Dictionary <string, object> jsonResult)
 {
     htmlHelper.PopulateData(jsonResult["currentReport"].ToString());
     dict = htmlHelper.GetJsonData(jsonResult["action"].ToString(), ProductSales.GetSalesData(), jsonResult["sortedHeaders"].ToString());
     return(dict);
 }
 public Dictionary <string, object> NodeDropped(Dictionary <string, object> jsonResult)
 {
     htmlHelper.PopulateData(jsonResult["currentReport"].ToString());
     dict = htmlHelper.GetJsonData(jsonResult["action"].ToString(), ProductSales.GetSalesData(), null, jsonResult["dropAxis"].ToString(), jsonResult["headerTag"].ToString(), jsonResult.ContainsKey("filterParams") ? jsonResult["filterParams"].ToString() : null, jsonResult["sortedHeaders"].ToString(), jsonResult["valueSorting"].ToString());
     return(dict);
 }
 public Dictionary <string, object> CellEditing(Dictionary <string, object> jsonResult)
 {
     htmlHelper.PopulateData(jsonResult["currentReport"].ToString());
     dict = htmlHelper.GetJsonData(jsonResult["action"].ToString(), ProductSales.GetSalesData(), null, jsonResult["index"].ToString(), jsonResult["summaryValues"].ToString(), null, jsonResult["valueHeaders"].ToString(), jsonResult["valueSorting"].ToString());
     return(dict);
 }
 public Dictionary <string, object> DeferUpdate(Dictionary <string, object> jsonResult)
 {
     htmlHelper.PopulateData(jsonResult["currentReport"].ToString());
     dict = htmlHelper.GetJsonData(jsonResult["action"].ToString(), ProductSales.GetSalesData(), null, null, null, jsonResult["sortedHeaders"].ToString(), jsonResult["filterParams"].ToString(), jsonResult["valueSorting"].ToString());
     return(dict);
 }
 public Dictionary <string, object> CalculatedField(Dictionary <string, object> jsonResult)
 {
     htmlHelper.PopulateData(jsonResult["currentReport"].ToString());
     dict = htmlHelper.GetJsonData(jsonResult["action"].ToString(), ProductSales.GetSalesData(), null, null, jsonResult["headerTag"].ToString(), null, null, jsonResult["valueSorting"].ToString());
     return(dict);
 }