GridColumn field value

2 posts, 0 answers
  1. Kevin
    Kevin avatar
    2 posts
    Member since:
    Oct 2018

    Posted 27 Oct 2018 Link to this post

    I am working with the Kendo grid in react and have an issue.  My  json data has several fields.  One of these fields contains an array of other objects.  I know how many items are contained within the array.  My  issues is that I  don't seem to be able to specify in the <GridColumn> component the correct "field" option.  I have tried field="myArrrayField[0] but this returns  no  results.  Without  modifying my data format is there a way to achieve what I am attempting? If this is unclear I can provide  more information if needed.  I have seen a jquery example that seems  to do exactly what I need, but again I am using the react component. Thanks for any help or  insight you can provide.





  2. Stefan
    Stefan avatar
    2913 posts

    Posted 29 Oct 2018 Link to this post

    Hello, Kevin,

    Thank you for the details.

    The wrapper version can work by accepting the same object of options as the jQuery Grid.

    I can suggest using this approach as it can save time converting jQuery Grid to a React one as the options format will stay the same: 

    I hope this is helpful.

    Progress Telerik
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Back to Top