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);
}
});

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions