开发者

jQGrid groupText

开发者 https://www.devze.com 2023-02-05 12:03 出处:网络
How do you access other data besides {0} for the grouping column and {2} for the number of rows. I would expect I could access the JSON through a function(开发者_C百科) {} or something ... any ideas e

How do you access other data besides {0} for the grouping column and {2} for the number of rows. I would expect I could access the JSON through a function(开发者_C百科) {} or something ... any ideas even if it is a little hacky?

...
grouping: true,
groupingView: {
           groupField:['GroupByThisField'],
           groupText: ['My Group {0} = {1}']

}
...


i am trying to do the exact same thing using the struts2-jquery-plugin owned by johgep. i was wondering if having a custom formatter on the grouping column would work.

I Did try it yesterday but it didn't work. I raised a request to johgep for the same. Will let you know in case of any updates.

0

精彩评论

暂无评论...
验证码 换一张
取 消