Example #1
0
        public Dictionary <string, object> Filtering(Dictionary <string, object> jsonResult)
        {
            pivotClient.PopulateData(jsonResult["currentReport"].ToString());
            Dictionary <string, object> dict = pivotClient.GetJsonData(jsonResult["action"].ToString(), ProductSales.GetSalesData(), jsonResult["filterParams"].ToString());

            return(dict);
        }
Example #2
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);
        }
Example #3
0
 public Dictionary <string, object> InitializeClient(Dictionary <string, object> jsonResult)
 {
     BindData();
     return(pivotClient.GetJsonData(jsonResult["action"].ToString(), ProductSales.GetSalesData(), null));
 }
Example #4
0
        public Dictionary <string, object> FetchMembers(Dictionary <string, object> jsonResult)
        {
            pivotClient.PopulateData(jsonResult["currentReport"].ToString());
            Dictionary <string, object> dict = pivotClient.GetJsonData(jsonResult["action"].ToString(), ProductSales.GetSalesData(), jsonResult["headerTag"].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;
 }