Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

对zui.datagrid.js的两处意见 #93

Merged
merged 2 commits into from
Jan 16, 2018
Merged

Commits on Jan 10, 2018

  1. 修改判断表格内为html还是text

    因为判断表格内是填入html片段还是字符串的条件是存在config中的,而不是cell中,故进行此修改
    zora-han authored Jan 10, 2018
    Configuration menu
    Copy the full SHA
    d7ae472 View commit details
    Browse the repository at this point in the history
  2. 对于获取被选中行信息的修改

    在data里面就没有存储过rowId或者id,所以除了在选择标题行时,返回的congfig是唯一的,其余行config返回的rowId均为undefined,所以改为直接判断rowIndex从而赋值给congif.rowId即可
    zora-han authored Jan 10, 2018
    Configuration menu
    Copy the full SHA
    5edddae View commit details
    Browse the repository at this point in the history