---
title: "easyui treegrud 无法识别state"
author: "zqb666kkk"
date: "2015-05-11T16:48:47Z"
tags: []
categories: ["Web前端"]
slug: "easyui-treegrud-state"
draft: false
lastmod: "2015-05-11T16:48:47Z"
id: 2210247
url: "https://skyfar666.iteye.com/blog/2210247"
---

发现easyui treegrid不能识别state这个json的值
似乎是她的内部关键字

必须把state改成states或者其他不跟这个词冲突的英文才能识别


比如你的json是 ![](http://dl2.iteye.com/upload/attachment/0108/4867/8421a8d5-8f33-30b9-83e2-9f2c5023432b.png)

必须这样才能识别 ：
![](http://dl2.iteye.com/upload/attachment/0108/4869/479d328d-dda8-34f0-8c68-38ebcb5a2e5f.png)