format json data

198 views
Skip to first unread message

Tim Garlick

unread,
Aug 25, 2020, 12:51:04 PM8/25/20
to jsTree
Server data is coming in the correct data format, but some of the data is named differently and backend developers dont want to mess with names. Instead of the name of the node beng "text": "node-1" it is coming in as "name": node-1. Is there a simple way to format the way jstree reads the data coming in?

Oleg Ilin

unread,
Sep 5, 2020, 6:42:52 PM9/5/20
to jsTree
use function 'datafilter'
Reply all
Reply to author
Forward
0 new messages