Skip to content

怎么在月份变化的时候,只动态添加一次 input框? #21

Description

@zhangdulin

model.widgetConfig({
calendar: {
refreshCellDom: function (self,arg) {
//清除添加的输入框
$(".inputText").empty();
//输入框添加到cell里
var fragment = cola.xRender([{
tagName: "input",
class: "inputText"
}], model);
$(arg.cell).append(fragment);
}
});

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions