找回密码
 立即注册

QQ登录

只需一步,快速开始

codess

注册会员

6

主题

16

帖子

56

积分

注册会员

积分
56
codess
注册会员   /  发表于:2019-3-13 16:24  /   查看:3188  /  回复:5
html代码为:
<wj-flex-grid style="height: 300px;"
  [itemsSource]="src2" [selectionMode]="'Cell'">
  <wj-flex-grid-column [header]="'数値入力'" binding="'no'">
    <ng-template wjFlexGridCellTemplate [cellType]="'Cell'" let-item="item">
      <wj-input-number [(value)]="item.no"></wj-input-number>
    </ng-template>
  </wj-flex-grid-column>
  <wj-flex-grid-column
    [header]="'Name'"
    [binding]="'name'">
  </wj-flex-grid-column>
</wj-flex-grid>
ts代码为:

  src2 = [
    { no: 1, name: 'テスト' },
    { no: 2, name: 'テスト' },
    { no: 3, name: 'テスト' },
    { no: 4, name: 'テスト' },
    { no: 5, name: 'テスト' },
    { no: 6, name: 'テスト' },
    { no: 7, name: 'テスト' },
    { no: 8, name: 'テスト' },
    { no: 9, name: 'テスト' },
    { no: 10, name: 'テスト' },
    { no: 11, name: 'テスト' },
    { no: 12, name: 'テスト' },
    { no: 13, name: 'テスト' },
    { no: 14, name: 'テスト' },
    { no: 15, name: 'テスト' },
    { no: 16, name: 'テスト' },
    { no: 17, name: 'テスト' },
    { no: 18, name: 'テスト' },
    { no: 19, name: 'テスト' },
    { no: 20, name: 'テスト' }
  ];


本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有帐号?立即注册

x

5 个回复

倒序浏览
JeffryLI
葡萄城公司职员   /  发表于:2019-3-15 09:04:52
沙发
您好  这个问题  在最新版本2018v3下有重现吗?
请点击评分,对我5分评价,谢谢!

葡萄城控件服务团队
官方网站: https://www.grapecity.com.cn/developer
回复 使用道具 举报
codess
注册会员   /  发表于:2019-3-20 16:20:44
板凳
JeffryLI 发表于 2019-3-15 09:04
您好  这个问题  在最新版本2018v3下有重现吗?

现在不允许升级为v3,能不能提供其他的方案来解决这个问题。
回复 使用道具 举报
JeffryLI
葡萄城公司职员   /  发表于:2019-3-22 09:09:47
地板
那你只能用单元格选中方法来指定选中,selecttion属性 给它单元格范围 就可以指定选中范围。
请点击评分,对我5分评价,谢谢!

葡萄城控件服务团队
官方网站: https://www.grapecity.com.cn/developer
回复 使用道具 举报
codess
注册会员   /  发表于:2019-3-22 09:22:34
5#
JeffryLI 发表于 2019-3-22 09:09
那你只能用单元格选中方法来指定选中,selecttion属性 给它单元格范围 就可以指定选中范围。

好的,我尝试一下
回复 使用道具 举报
JeffryLI
葡萄城公司职员   /  发表于:2019-3-25 12:15:52
6#
请点击评分,对我5分评价,谢谢!

葡萄城控件服务团队
官方网站: https://www.grapecity.com.cn/developer
回复 使用道具 举报
您需要登录后才可以回帖 登录 | 立即注册
返回顶部