更新时间:2023-12-05 12:58:46
loadComplate
和gridComplete
之间存在细微差别,但是在准备好网格包含之后,两者都将被称为.因此,您不能只修改loadComplate
的data
来更改网格包含.
There are small differences between loadComplate
and gridComplete
, but both will be called after the grid contain is prepared. So you can't just modify the data
of the loadComplate
to change the grid contain.
您没有发布网格的定义,因此很难准确回答您的问题.您可能想要解决的问题与自定义格式程序有关您可以为customerSite
列定义.在格式化程序功能内,您可以访问rowObject
,您可以在其中找到构建customerName
+'/'+ siteDescription
的源信息.
You don't posted the definition of your grid, so it is difficult to answer on your question exactly. What you probably want can be solved with respect of the custom formatter which you can define for the customerSite
column. Inside of formatter function you have access to rowObject
where you find source information to construct the customerName
+ ' / ' + siteDescription
.