D3 includes various methods to load different types of data from file or remote server such as d3. jQuery – code to initialize highcharts and binding data (jQuery ajax [json data series]). The following steps demonstrate how to bind the igGrid control to client-side data. Highmaps - Map Collection Version 1. In this post I'm going to give an overview of IConfiguration in. In the following example, we will learn 3 best way to convert JSON to Datatable in C# ASP. In my first, I'll create a JSON array inside my JavaScript function and add few data to it. Inside of each shelf is a section element that contains the binding variable. Highcharts library also provide several theme and graphic design that way you can make better layout. NET Core includes JSON based input formatters for handling JSON data. Check demos Download Licensing. -> type Newtonsoft. Highcharts is a one type js library, that provide to populate bar chart, line chart, area chart, column chart etc. How to display json data with Angular-highcharts? Ask Question Asked today. This blog shows how to bind and display data in GridView. Hi Marissalianam, We could Deserialize Json string to C# class object, then bind object to WPF form. You draw the chart before the data has arrived. Ask Question. C#- Create a WebService (WebMethod) which returns data. In Focus Bind JSon Data in GridView. Feel free to search this API through the search bar or the navigation tree in the sidebar. Preprocess data using JSON. Loading highcharts from data defined in the highcharts data series. You can achieve this with a number of simple steps 1. i am creating a combination chart taking data from a database. The tutorial i am following only teaches about rendering in a single type, so i am kind of lost here. You draw the chart before the data has arrived. Sencha Architect: How to use ViewModel to Bind Store into Grid Panel we are going to create a simple grid application retrieving data from a Json store reading. I got some data from IOT table storage including a column with JSON data, as below. jQuery – code to initialize highcharts and binding data (jQuery ajax [json data series]). Inside of each shelf is a section element that contains the binding variable. This example is very helpful for the beginners of AngularJS. data only contains the points that have been created on demand. Highcharts is, in my opinion, one of the best JavaScript libraries to work with data visualization and charts outthere. Download highmaps and we are implementing highmaps for the same application and our requirement is US map should show based on Latitude and Long. The other type is simple data binding where you read JSON into built-in Java types( such as Map and List) and also wrapper types (such as String, Boolean, and Number). For the pie series type, points can be given in the following ways: An array of numerical values. Highcharts is a very popular and simple library for php developer. In this case it uses jQuery's $. When you don't have time to learn new technologies. We are already using highcharts for web application. 6 and Bootstrap 3. NET Using jQuery and Ajax This article will help you to bind a drilldown highchart (Bar Chart) by calling a web service from jQuery AJAX in ASP. (The below code works, however, it relies on the index of either the Countries or the Cities and i cannot access the data from the item variable in the function:. In Focus Bind JSon Data in GridView. C#- Create a WebService (WebMethod) which returns data. The other type is simple data binding where you read JSON into built-in Java types( such as Map and List) and also wrapper types (such as String, Boolean, and Number). 0 introduces some fundemental changes. The tutorial i am following only teaches about rendering in a single type, so i am kind of lost here. This sample uses the lockup element to populate two shelf elements. We can simply. data only contains the points that have been created on demand. We will create a personal expense manager using Asp. If the series length is greater than 20,. Highcharts easily integrates with existing JavaScript frameworks and is simple enough to make a column chart in a few lines of code, but flexible enough to handle more complex charting scenarios such as viewing multiple chart types with different data sources on a multitude of devices and form-factors. This blog shows how to bind and display data in GridView. 2 (View changelog) * Maps marked with a red star require that the original source of the map data is credited when used. net mvc4 c# razor project i want to implement dotnet highcharts. Below is an example of how I set it up for my project, using JSON for the data. Join GitHub today. e working copy of highcharts Asp. Last couple of hours I was trying to bind json data from a WCF service to a simple HTML UI using Knockout js. Well organized and easy to understand Web building tutorials with lots of examples of how to use HTML, CSS, JavaScript, SQL, PHP, Python, Bootstrap, Java and XML. Alternatively, you can load JSON data from your local file system (see Connect > To local JSON in the Toolbar), refer to a remote JSON file, or add data generated by a server-side script. It is used primarily to transmit data between a server and web application, as an alternative to XML. For that i have created a jsonresult function to get the data from datatable and a cshtml file to render the file. For the pie series type, points can be given in the following ways: An array of numerical values. i am able to import all the data and render it in single type i. this is my java script. ajax method to handle the Ajax stuff, but it could just as well use any other Ajax framework. It also helps in keeping the JavaScript code clean and separated. So, the input should be Integer and not charcters. A developer demonstrates how to create full stack web application using ASP. Generating Highcharts dynamically with ajax calls and php Posted on 03/12/2013 by Gaurav • Posted in Php • Tagged ajax , highchart , php • 6 Comments Recently i had a chance to work with the svg Charting librery called highcharts for generation of dynamic charts on the web pages using php as server side scripting language. NET Using jQuery and Ajax This article will help you to bind a drilldown highchart (Bar Chart) by calling a web service from jQuery AJAX in ASP. I feel that this is a vital skill to any journeyman ASP. I can see the data is returning from the server when I paste that url in my firefox browser. Or, use the same data to create an interactive SVG bar chart with smooth transitions and interaction. How to create JSON WCF RESTful Service in 60 seconds CodeProject WCF makes it very easy to expose JSON data over a RESTful interface, as long as you are aware of a couple of "gotchas" in advance. ajax function to load it. amCharts 4 includes both charts and geographical maps. com ( Learn more ). Create a Project and Prepare a Data Source To get started with this tutorial, open an existing reporting application or create a new application (the Add a Report to Your. This article will help you to understand how to bind a Pie Chart by calling a web service from jQuery AJAX in ASP. Do have a JSON data list and you want to bind it in your application? Well, if you need a quick solution you are at very right place, you would not take more than 10 minutes to bind your JSON list to your own application's list box in Windows Phone. 0 introduces some fundemental changes. var data= [{"Salary":470,"Year":"2011"},. Step 1 – MySQL I will re-use the same table structure and data from the last tutorial Stacked column chart with data from MySQL using Highcharts. Initially I would like to display a default set of data (spending by category) but then load new data based on user input (spending by month, for example). This example is very helpful for the beginners of AngularJS. In C# and C# script, alternative ways to send data to. Convert JSON to Datatable C#. Viewed 3 times. Learn more about the most popular directive for Highcharts. Since JSON is more widely used data format, it makes sense to provide sample code that uses JSON. I'm using HighCharts, which gets a JSON object to populate its chart. It is a highly flexible tool, built upon the foundations of progressive enhancement, that adds all of these advanced features to any HTML table. NET and trying to bind data to charts using ajax call with json output. You draw the chart before the data has arrived. All the other questions I have seen answered seem to work this way but I might be missing something? Load url path looks like this :. below data is my json response to ajax call. It is a variant of Jackson data binding that reads JSON into application-specific JavaBeans types. This post will show you how to pass a date parameter to a line chart. Sencha Architect: How to use ViewModel to Bind Store into Grid Panel we are going to create a simple grid application retrieving data from a Json store reading. Highcharts runs on the client side only, and is completely ignorant of how your server is set up. this is my java script. This post has been long overdue. D3 includes various methods to load different types of data from file or remote server such as d3. php` and we will put it in a folder called `php` which will be in our. NET MVC: Intro to MVC using Binding JSON objects to Models This post is designed to assist in jump-starting your MVC (model-view-control) project binding JSON to models (using Ajax posts). This article will help you to understand how to bind a Pie Chart by calling a web service from jQuery AJAX in ASP. Create a Project and Prepare a Data Source To get started with this tutorial, open an existing reporting application or create a new application (the Add a Report to Your. How to create JSON WCF RESTful Service in 60 seconds CodeProject WCF makes it very easy to expose JSON data over a RESTful interface, as long as you are aware of a couple of "gotchas" in advance. Similarly, we will invoke the GetMonthlyExpense method of our controller on clicking the "Monthly Report" button. JSON Data Array Data Ajax data File data CRUD RESTful Delayed Saving Changes Filtering Server Filtering Sorting Multi Sorting Server Sorting Paging Server Paging Cells styling Selection CheckBox Selection Memory Selection Date Column Charts Integration Sparklines columns Locking columns Column drag Formatting Grouped Header Grouping Rows Row. That should be easy. To modify the data, use Highcharts. This post has been long overdue. The tutorial i am following only teaches about rendering in a single type, so i am kind of lost here. This is a basic example of the doughnut chart bound to JSON data. In languages that have a return value, you can bind a function output binding to the return value: If there are multiple output bindings, use the return value for only one of them. e working copy of highcharts Asp. net MVC using jQuery Ajax jQuery has great support for sending HTML form data (that is input , select and textarea element values) back to the server using Ajax technologies by providing two main ways of preparing form data for submission - namely serialize() and serializeArray() functions. JSON (Javascript Object Notation) is the most used data exchange format nowadays. Loading highcharts from data defined in the highcharts data series. i am creating a combination chart taking data from a database. We will demonstrate the following data load types. To modify the charts, you simply need to update the HIGHCHART_OPTIONS. It is a variant of Jackson data binding that reads JSON into application-specific JavaBeans types. Binding JSON data to a web page using Knockout JS Knockout JS provides a nice way to bind data on HTML pages using JavaScript. Here is a basic example with a JSON file containing the data shown and using the Highcharts. In C# and C# script, alternative ways to send data to. Using Highcharts setOptions() method. Using CSV, XML, or JSON with Highcharts Even though much of the data we work with in charts comes via a backend source, there are times when we may need to get our data from an external source, such as a CSV file or an XML file. (The below code works, however, it relies on the index of either the Countries or the Cities and i cannot access the data from the item variable in the function:. Binding to Client-Side Data. Create a Project and Prepare a Data Source To get started with this tutorial, open an existing reporting application or create a new application (the Add a Report to Your. How to bind data to highcharts using datatable? Solving Problem With dynamic Binding DataGridComboBoxColumn How to format json to bind on highchart 3d piechart. You can easily bind a JSON array or data to an HTML table in AngularJS. I've been trying to make a Line Chart with live subscribers on it. There are several more complex open source Angular directives for Highcharts. Do have a JSON data list and you want to bind it in your application? Well, if you need a quick solution you are at very right place, you would not take more than 10 minutes to bind your JSON list to your own application's list box in Windows Phone. Generating Highcharts dynamically with ajax calls and php Posted on 03/12/2013 by Gaurav • Posted in Php • Tagged ajax , highchart , php • 6 Comments Recently i had a chance to work with the svg Charting librery called highcharts for generation of dynamic charts on the web pages using php as server side scripting language. Another problem is that the highchart requires me to change the labels as Name and a y tag of JSON instead of the Text and Spend tag in my JSON. The page you are viewing does not exist in version 16. Using CSV, XML, or JSON with Highcharts Even though much of the data we work with in charts comes via a backend source, there are times when we may need to get our data from an external source, such as a CSV file or an XML file. Convert JSON to Datatable C#. i am able to import all the data and render it in single type i. Hello! I'm needing some help integrating HighCharts into my CodeIgniter application and getting data from my MySQL database! I've followed a YouTube video on actually integrating HighCharts and it was extremely straightforward. Even though Highcharts is open source, it’s a commercial library. Most notable is the complete design. e working copy of highcharts Asp. Below is an example of how I set it up for my project, using JSON for the data. In my first, I'll create a JSON array inside my JavaScript function and add few data to it. Similarly, we will invoke the GetMonthlyExpense method of our controller on clicking the "Monthly Report" button. com/2271/fetch-json-data-using-jquery-ajax-method-getjson/ Video tutorial illustrates fetching of JSON data using jQuery AJAX method, getJSO. Create bar chart with JSON data using servlet and Highcharts example VK March 24, 2015 chart , JSON , JSONP In this tutorial, let us see the steps how to create bar chart with JavaScript charts ( Highcharts) using JSON data generated using servlet in eclipse. Binding JSON data to a web page using Knockout JS Knockout JS provides a nice way to bind data on HTML pages using JavaScript. Simple Data Binding in Jackson. D3 allows you to bind arbitrary data to a Document Object Model (DOM), and then apply data-driven transformations to the document. When you don't have time to learn new technologies. C#- Create a WebService (WebMethod) which returns data. Related Post: How to Convert JSON Data Dynamically to an HTML Table using JavaScript. By using jquery map function we'll translate the json array to new array of items var processed_json = new Array(); $. This blog shows how to bind and display data in GridView. parse("["+ oPopulateData +"]") //This is the place where the Bar gets displayed. -> type Newtonsoft. below data is my json response to ajax call. Loading highcharts from data defined in the highcharts data series. Convert JSON to Datatable C#. I got some data from IOT table storage including a column with JSON data, as below. Hi Marissalianam, We could Deserialize Json string to C# class object, then bind object to WPF form. html $(function() { var people = []; $. In combination with its data binding, this could allow changes in the underlying data to automatically update the chart. Here is a basic example with a JSON file containing the data shown and using the Highcharts. What I got is, as you can see, a column of lists. Do have some JSON data list and you want to bind it in your application? Well, if you need a quick solution you are at very right place, you would not take more than 10mins to bind your JSON list to your own application's list box in Windows Phone. NetCore and also give examples on how to set this up with a provider and how to use different files to override configuration values. ajax method to handle the Ajax stuff, but it could just as well use any other Ajax framework. To modify the data, use Highcharts. JSON Data Array Data Ajax data File data CRUD RESTful Delayed Saving Changes Filtering Server Filtering Sorting Multi Sorting Server Sorting Paging Server Paging Cells styling Selection CheckBox Selection Memory Selection Date Column Charts Integration Sparklines columns Locking columns Column drag Formatting Grouped Header Grouping Rows Row. How to format json to bind on highchart 3d piechart. This blog shows how to bind and display data in GridView. Preprocess data using JSON. Highcharts is, in my opinion, one of the best JavaScript libraries to work with data visualization and charts outthere. There is one series though which i want to render in spline type. This is a very simple application I created to learn Knockout. To modify the charts, you simply need to update the HIGHCHART_OPTIONS. In this case it uses jQuery's $. The output i want to bind in highcharts pie chart in series data as below: binding Listview using json. If the series length is greater than 20,. That should be easy. Or, use the same data to create an interactive SVG bar chart with smooth transitions and interaction. key, parseInt(obj. Fork fiddle. # Create nested JSON Object (which bind to Table/ UL li / Div) Here we have function fillTableData() which has variable Actor ( actor information). This post has been long overdue. Join GitHub today. JSON Data Array Data Ajax data File data CRUD RESTful Delayed Saving Changes Filtering Server Filtering Sorting Multi Sorting Server Sorting Paging Server Paging Cells styling Selection CheckBox Selection Memory Selection Date Column Charts Integration Sparklines columns Locking columns Column drag Formatting Grouped Header Grouping Rows Row. How to perform WPF Data Binding using LINQ to XML How to perform WPF Data Binding using LINQ to XML; WPF Button with Image and text and ToolTip; how to bind json data to datagrid in wpf VB. Binding json result in highcharts for asp. 0 introduces some fundemental changes. We could Deserialize Json string to C# class object, then bind object to WPF form. e working copy of highcharts Asp. Join a community of over 2. Json and search -> select it and click install. Now, we will configure the various parameters to create the required json string. First the JSON data (array of JSON objects) is generated and then it is used to populate (bind) HTML Table using the AngularJS ng-repeat directive. Download highmaps and we are implementing highmaps for the same application and our requirement is US map should show based on Latitude and Long. So, the input should be Integer and not charcters. The code for doing so basically reverses what we did above: use Jackson to deserialize JSON into our java objects, and serialize that data into XML using JAXB. In this tutorial i am going to explain about how to display the json data into html table using javascript & jquery. By default, ASP. up vote 1 down vote favorite. The API and behavior may change when these features are released with full support. Below is the link i created sample. Learn how to load data from file or remote server in D3. To modify the charts, you simply need to update the HIGHCHART_OPTIONS. This blog shows how to bind and display data in GridView. Related Post: How to Convert JSON Data Dynamically to an HTML Table using JavaScript. Binding to Client-Side Data. (The below code works, however, it relies on the index of either the Countries or the Cities and i cannot access the data from the item variable in the function:. Bind Series to Data Source. Log in if you'd like to delete this fiddle in the future. # Create nested JSON Object (which bind to Table/ UL li / Div) Here we have function fillTableData() which has variable Actor ( actor information). The most simple configuration to use a JSON data source is to display data that is already on your page. This will return the data in JSON format. Set the report's DataSource (see XtraReportBase. getJSON('people. Hi, I am a newbie to meteor and I just want to know is there any way to bind collection data with chart data ? I tried something like this, chart is rendered fine first time, but chart is not updated realtime when data is inserted into c. DataSource) property to the created JsonDataSource object. highcharts-editor is a lightweight chart editor for highcharts that can be embedded into existing frameworks and libraries, or used stand-alone. When the data is successfully received from the server, the string is eval'd and added to the chart's first series using the Highcharts addPoint method. It also helps in keeping the JavaScript code clean and separated. December 13, 2013 Comments. Install Newtonsoft. DataTables Table plug-in for jQuery Advanced tables, instantly. VBA-JSON is an excellent library for parsing JSON in VBA. I am trying to bind a query result to a SAPUI5 table but, it does not return any data. For example, you can use D3 to generate an HTML table from an array of numbers. The other type is simple data binding where you read JSON into built-in Java types( such as Map and List) and also wrapper types (such as String, Boolean, and Number). In my first, I'll create a JSON array inside my JavaScript function and add few data to it. In this post I’m showing how to bind data to Highcharts in ASP. Sending complex JSON objects to Asp. Binding igGrid to a JavaScript array and JSON array (igGrid) This document demonstrates how to bind the igGrid control to a JSON array, JavaScript array and HTML table element. Once the page is refreshed, GET method will be activated and the function getdata() will run to pull data from mysql db and data will be dumped to json file for highcharts to call. Binding json result in highcharts for asp. json file I stored in a raw folder. Hello! I'm needing some help integrating HighCharts into my CodeIgniter application and getting data from my MySQL database! I've followed a YouTube video on actually integrating HighCharts and it was extremely straightforward. This blog shows how to bind and display data in GridView. Create a Project and Prepare a Data Source To get started with this tutorial, open an existing reporting application or create a new application (the Add a Report to Your. Below have provided highcharts examples. So, the input should be Integer and not charcters. The tutorial i am following only teaches about rendering in a single type, so i am kind of lost here. Also, in case a series is hidden, the data array may be empty. You draw the chart before the data has arrived. Another problem is that the highchart requires me to change the labels as Name and a y tag of JSON instead of the Text and Spend tag in my JSON. We will create a personal expense manager using Asp. The easiest way I can think of to output the JSON from the server is by. The page you are viewing does not exist in version 16. amCharts 4 includes both charts and geographical maps. It is a highly flexible tool, built upon the foundations of progressive enhancement, that adds all of these advanced features to any HTML table. Thanks for Reply Friend I saw the sample code it nice but how can i pass the data from web service to here I sent the first data from web service to here through ajax and json. It requires no back-end service to operate. Below is the link i created sample. Create a Project and Prepare a Data Source To get started with this tutorial, open an existing reporting application or create a new application (the Add a Report to Your. 6m developers to have your questions answered on Binding json data to grid of Kendo UI for jQuery Grid. Do you give us your consent to do so for your previous and future visits? More information. Data Grid - JSON Binding This sample uses CTP (Community Technical Preview) features. value)]); }); processed_json will have data that can be used with HighCharts. http://technotip. Loading highcharts from data defined in the highcharts data series. 1 and Entity Framework core Code first approach with the help of Highcharts to show the expense summary chart and a modal dialog to handle the user inputs. In this case, the numerical values will be interpreted as y options. highcharts(json); Here json represents the json data and configuration which the Highcharts library uses to draw a chart within the container div using the highcharts() method. So, the input should be Integer and not charcters. This link will take you to the Overview page. Binding JSON Data Model to SAPUI5 Table. Now design your adapter row according to your requirements, so we have name, contact, address and father name which we want to show in a row. I'm having a trouble passing the values to jquery code from PHP json. For explaining how we convert the json data into html table using javascript & jquery we have created a json file that contains the below json data. Highcharts easily integrates with existing JavaScript frameworks and is simple enough to make a column chart in a few lines of code, but flexible enough to handle more complex charting scenarios such as viewing multiple chart types with different data sources on a multitude of devices and form-factors. Fork anonymous (public) fiddle? - Be sure not to include personal data - Do not include copyrighted material. NetCore and also give examples on how to set this up with a provider and how to use different files to override configuration values. data only contains the points that have been created on demand. Created By: Debasis Das (8-Jan-2015) In this article we will demonstrate different ways of loading a highcharts by feeding data from different sources types. ajax function to load it. I need to implement high chart using knockout binding handlers. Highmaps - Map Collection Version 1. This blog shows how to bind and display data in GridView. i am able to import all the data and render it in single type i. CanvasJS takes data in the form of JSON only. Parse the JSON data into a separate variable. In my previous post “How to load MySQL results to Highcharts using JSON”, the x-axis values were hard-coded. Highcharts is, in my opinion, one of the best JavaScript libraries to work with data visualization and charts outthere. It is a highly flexible tool, built upon the foundations of progressive enhancement, that adds all of these advanced features to any HTML table. The API and behavior may change when these features are released with full support. This blog shows how to bind and display data in GridView. This Actor variable holds an array of complex JSON objects. i am able to import all the data and render it in single type i. To parse this data, model binding uses an input formatter that is configured to handle a particular content type. Also, in case a series is hidden, the data array may be empty. To modify the charts, you simply need to update the HIGHCHART_OPTIONS. The following steps demonstrate how to bind the igGrid control to client-side data. Install Newtonsoft. (The below code works, however, it relies on the index of either the Countries or the Cities and i cannot access the data from the item variable in the function:. GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together. This example is very helpful for the beginners of AngularJS. up vote 1 down vote favorite. It’s free f. Your other option is to set the chart data in the view rather than make an Ajax call for it. e working copy of highcharts Asp. I want to extract the data of the fourth column and started with expanding the content and then parsed JSON. This post has been long overdue. Using Highcharts with Django 1. This example is very helpful for the beginners of AngularJS. If the user wants the data from client side, the most commonly used model is JSON(JavaScript Object Notation) Model and it supports two-way data binding. Most notable is the complete design. I am trying to bind a query result to a SAPUI5 table but, it does not return any data. The JSON file. ajax function to load it. Highstock Demos › Dynamically updated data. NET MVC using Ajax Request and JavaScript functions. this is my java script. stringify will check if each object has a toJSON method and execute it first before serializing the object to its JSON representation. net demo downloadable. In C# and C# script, alternative ways to send data to. Example: data: [0, 5, 3, 5] An array of objects with named values. Is there a Json link where you can put your Channel ID Into the link to Paste into the Live Data Json Link?. December 13, 2013 Comments. I can see the data is returning from the server when I paste that url in my firefox browser. That should be easy. Populate (Bind) dynamic HTML Table from JSON using ng-repeat in AngularJS. How to bind data to highcharts using datatable? Solving Problem With dynamic Binding DataGridComboBoxColumn How to format json to bind on highchart 3d piechart. The parameter values will show different series values (traffic count in this case) based on your date selection. It is a variant of Jackson data binding that reads JSON into application-specific JavaBeans types. Json and search -> select it and click install. For the pie series type, points can be given in the following ways: An array of numerical values. The other type is simple data binding where you read JSON into built-in Java types( such as Map and List) and also wrapper types (such as String, Boolean, and Number). Binding JSON Data Model to SAPUI5 Table. Do the following to bind a report to JSON-formatted data: Create a JsonDataSource object based on JSON data. The data format that we're going to use for presenting to D3 is json (JavaScript Object Notation). How do i change my JSON for that? I have scoured the net for the same but all examples only seem to show the binding of JSON from an external file. Highcharts is a one type js library, that provide to populate bar chart, line chart, area chart, column chart etc. I want to extract the data of the fourth column and started with expanding the content and then parsed JSON. I have data source where I have supplied the url of my service with method name, that is getting me the data from server. Need help in binding dynamic JSON to Highcharts. This article will help you to understand how to bind a Pie Chart by calling a web service from jQuery AJAX in ASP. i am able to import all the data and render it in single type i. You draw the chart before the data has arrived. Some of you guys were wondering how to set the x-axis values dynamically as well. But what if I need to bind both data types?. I can now add every single list as a new query and get. For that i have created a jsonresult function to get the data from datatable and a cshtml file to render the file. JSON or JavaScript Object Notation, is an open standard format that uses human-readable text to transmit data objects consisting of attribute-value pairs. Created By: Debasis Das (8-Jan-2015) In this article we will demonstrate different ways of loading a highcharts by feeding data from different sources types. Bind Series to Data Source. I am trying to reload the data for a Highcharts chart via JSON based on a button click elsewhere in the page. Below is the link i created sample. The following steps demonstrate how to bind the igGrid control to client-side data. this is my java script.