场景如下:页面有固定的几列,然后我想通过点击按钮动态添加列,这些我都实现了,现在的问题是,我再次点击按钮时应该在初始的列基础上再增加列,现在是点击一次就在之前基础上增加。 我的方案是,初始化的时候先 ...
2016-11-11 14:13 - he342989854 - 技术交流
var columns=TreeGrid.getColumns(); for(var i=0;i
2016-11-9 20:05 - he342989854 - 技术交流
有一个场景,在treegrid中一行有12个月的字段,每个月的字段后都有个百分比赋值,我输入1月的值后,后面的百分比动态赋值,后面的月份类似。我目前是给1月设置field为JanAmount,百分比则为JanAmountProcess,所以监 ...
2016-11-4 14:45 - he342989854 - 技术交流
我用ajax取到列表,然后TreeGrid.loadList(mini.decode(data.replace(/\n|\r/g,"")),"UID","parentTaskUID")载入,我在保存页面后,想将这个treegrid里的所有数据都取到后台保存,但我发现用TreeGrid.getData()根本 ...
2016-11-3 16:35 - he342989854 - 技术交流
我看了下API,datagrid的很详细,但是treegrid是没有这些方法事件还是他们是共用的
2016-10-28 10:36 - ddaylucifer - 技术交流
筛选前 筛选后 请问,怎么设置父节点自动合计筛选后的子节点的合计值?
2016-10-19 09:16 - hanshi_123 - 技术交流
如图 点击日志管理要得到菜单管理的名字。 treeGrid里要怎么获得
按照懒加载的例子进行的配置,但左边树仍然不加载,求解答。 1、代码 2、能否告知返回是json数据格式是什么样的吗? 目前我的java类中是left=false;expandfed=false; 给个java懒加载返回json的完整例子。 ...
内容隐藏需要,请点击进去查看
替换treegrid的minicombobox 控件editor为textbox控件editor,请教各位朋友如何为editor赋值
2016-9-21 11:29 - chengyihardwork - 技术交流
版主,类似于这样的一个TreeGrid,我想要实现他的上移下移功能,我看到咱们的API里面的DataGrid里面有moveup movedown的方法,但是我使用过去之后没反应,求版主指点迷津 function moveUp() { var row = g ...
按照http://www.2cto.com/kf/201212/176067.html进行页面代码配置 但左边不出现树+,同时点击这一行后,返回的树子节点,但当前的父节点没有了
请问如何设置treegrid同层之间的排序
诸位大神,麻烦问一下,我可以用纯前端的技术实现树形联动的效果吗,就是我把所有的数据存储为json值,然后点击左侧导航树实现联动效果
就那个红色的位置,
请问一下版主,在我的treegrid中,我需要合计所有根节点所在的列的数值合计,现在设置summaryType="sum"和设置showSummaryRow="true"后,会把所有根节点和子节点的数值都相加了,这不是我要的结果,我只需要计算根节 ...
2016-8-24 11:23 - wangchao928 - 技术交流
大神,我按照配置文件已经把数据库连接好了,我的数据库是sqlSever,但是下载乃有一个问题,就是当我要打开TreeGrid的Demo时他会提示../data/tasks.text 0 undefined,我检查了一下路径,发现没有问题,而且我也没 ...
treegrid第一次加载的时候,加载默认的图标,操作节点时,动态的改变节点的img,如何实现
请教一下版主,我动态生成的treegrid后,能正常显示,但是列无法编辑,我已经设置allowCellEdit="true",列属性中设置 var editor="{type:\"textbox\",minValue: 0, maxValue: 100}" di["editor"] = mini.decode(edi ...
2016-8-8 12:56 - wangchao928 - 技术交流
请问一下版主,如何设置treegrid自定义列表头高度? 我是通过setColumns方法生成列,但生成的treegrid列表头高度太大,不好看。我也设置了headerStyle属性,但是不起作用。 ...
2016-8-5 11:34 - wangchao928 - 技术交流