zoukankan      html  css  js  c++  java
  • JQuery UI updateRow

      更新指定的行, param 参数包含下列特性:
    index
    :更新行的索引。
    row
    :行的新数据。

     

       

      var grid = $("#QualityAdd").datagrid("updateRow", { index: gridIndex, row: {
                            Url: "<a href=\"#\">"+r[0].html+"</a>"
                        } });


    datagrid 内置对象
    {rows:[{No:001,Order:{no:00101,amount:10}}]}

     columns: [[
                 { title: '订单编号', field: 'no',  100,
                     formatter: function (value, row, index) {
                         return row.Order.no;
                     }
                 },
    最终显示 00101
  • 相关阅读:
    三数之和
    167
    二分搜索树
    687
    索引堆
    二分查找 leetcode704
    leetcode 56合并区间 java
    leetcode 1046
    堆的数据结构java
    leetcode 493
  • 原文地址:https://www.cnblogs.com/chenxiao/p/2665039.html
Copyright © 2011-2022 走看看