关于easyUI 如何获取field 各位大神 帮帮忙
columns: [[
{ title: '' + seleVal + '', align: 'center', colspan: 4 }
], [
{ field: seleVal+'-SyntheticalPrice', title: '计算价', width: 80, align: 'center',rowspan:1 },
{ field: seleVal+'-AdjustPrice', title: '调整价', width: 100, align: 'center', rowspan: 1 },
{ field: seleVal + '-LastSynPrice', title: '上期价', width: 80, align: 'center', rowspan: 1 },
{ field: seleVal + '-month-on-month', title: '环比', width: 60, align: 'center', rowspan: 1 }
]],
rowStyler: function (index1, row) {
//信息员价格环比标记
if (row.AdjustPrice > 0 && row.LastSynPrice > 0) {
if (row.AdjustPrice / row.LastSynPrice > 1.05 || row.AdjustPrice / row.LastSynPrice < 0.95) {
return 'color:red';
}
我把field改为了拼接字符串,那么我 “ //信息员价格环比标记 if (row.AdjustPrice > 0 && row.LastSynPrice > 0) {”这里该怎么获取field呢
{ title: '' + seleVal + '', align: 'center', colspan: 4 }
], [
{ field: seleVal+'-SyntheticalPrice', title: '计算价', width: 80, align: 'center',rowspan:1 },
{ field: seleVal+'-AdjustPrice', title: '调整价', width: 100, align: 'center', rowspan: 1 },
{ field: seleVal + '-LastSynPrice', title: '上期价', width: 80, align: 'center', rowspan: 1 },
{ field: seleVal + '-month-on-month', title: '环比', width: 60, align: 'center', rowspan: 1 }
]],
rowStyler: function (index1, row) {
//信息员价格环比标记
if (row.AdjustPrice > 0 && row.LastSynPrice > 0) {
if (row.AdjustPrice / row.LastSynPrice > 1.05 || row.AdjustPrice / row.LastSynPrice < 0.95) {
return 'color:red';
}
我把field改为了拼接字符串,那么我 “ //信息员价格环比标记 if (row.AdjustPrice > 0 && row.LastSynPrice > 0) {”这里该怎么获取field呢
...全文
相关推荐
EasyUI Combobox设置默认值 获取text的方法
主要介绍了EasyUI Combobox设置默认值 获取text的方法,非常不错,具有参考借鉴价值,需要的朋友可以参考下
easyui textbox失去焦点事件及获取文本框的内容
easyui textbox失去焦点事件及获取文本框的内容easyui textbox失去焦点事件及获取文本框的内容easyui textbox失去焦点事件及获取文本框的内容
easyui datagrid中update后 getChanges获取不到
一个update扩展方法 文档中一种是比较笨的方法 一次只能修改一个列而且受列编辑类型影响(比如number datetime)扩展一次编辑多列,不受编辑类型影响,没有编辑属性也可以。
EasyUI InsdepTheme EasyUI的皮肤美化 免费版
InsdepTheme免费版,非商业的,现在官网好像没法下载了。
jquery获取easyui日期控件的值实现方法
jquery easyui日期控件中,在页面里用JS拿到设置的日期值的方法 jquery获取easyui日期控件的值 jquery easyui 日期框 有这样的一个日期文本框: <input type=”text” name=”mdate” size=”20″ value=”” id=”mdate” class=”easyui-datebox”/> 使用easyui给文本框选定日期值,然后,要在JS中拿到此日期框中的最新值。 本来以为这是一个简单的问题,直接 var dv = $(‘#mdate’).val(); 不就OK了吗。但事与愿违,拿到的竟然是空,如果我在后台给这个文本框赋初


