We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on : Nov 16th 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

How to display array of strings within a Grid column?

Solution

Object Array Binding is the process of binding an array within JSON object to a control. For example, JSON object data is bounded to Grid DataSource property and the inner array Name of the JSON object is bounded to the Grid columns using the helper functions.

  1. Render the Grid.

JS

 

MVC

 

ASP

 

  1. In the following code example, getVal is the name of the helper function. The inner array of the JSON object and the element of the inner array are passed as arguments to the helper function.

JS

 

The following screenshot displays the array of strings within the Grid Column.

 

Article ID: Published Date: Last Revised Date: Platform: Control:
2465 08/07/2014 01/13/2015 JavaScript ejGrid
Tags:
Did you find this information helpful?
Comments
noName Aug 27, 2017

There is an error : "

The type or namespace name 'EJGridSample1' could not be found (are you missing a using directive or an assembly reference?)

Reply
noName Aug 27, 2017

For JS : "jquery-3.2.1.min.js:2 Uncaught TypeError: view.ctxPrm(...) is not a function

    at Function.eval [as fn] (eval at L (jsrender.min.js:3), :7:27)"

Reply
Thavasianand Sankaranarayanan [Syncfusion] Aug 29, 2017

Hi,

 

We have analyzed your query and we are unable to reproduce the reported issue from our end.

 

We have prepared a sample and it can be downloadable from the below location.

 

Sample: http://www.syncfusion.com/downloads/support/directtrac/general/ze/SyncfusionMvcApplication14_(3)1053549044.zip

 

Please provide the following details for better assistance.

 

  1. Share screen shot or video demonstration of the issue.
  2. Share full grid code example both server and client side code.
  3. Essential studio and browser version details.
  4. If possible share the sample or reproduce the issue in the attached sample.

 

Regards,

Thavasianand S.

Reply
Add Comment
You must log in to leave a comment

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon