Element: [Table] clearSelection 怎么用?

Created on 7 Dec 2016  ·  4Comments  ·  Source: ElemeFE/element

需要使用一个重置按钮,将table中修改的select选择恢复到初始选择的状态,请问如何使用。可否给一个demo

question

Most helpful comment

All 4 comments

数据从ajax请求来的时候已经有部分选中,重置的时候是恢复到默认选中状态,而不是清空,请问怎么实现呢?

官网说需要配合这个reserve-selection,请问如何配合reserve-selection

@yuanshengchao 不是需要配合 reserve-selection,是在使用 reserve-selection 的时候,大部分情况需要使用该方法。

Was this page helpful?
0 / 5 - 0 ratings

Related issues

fscardua picture fscardua  ·  3Comments

chao-hua picture chao-hua  ·  3Comments

no5no6 picture no5no6  ·  3Comments

mochenxm picture mochenxm  ·  3Comments

zhguokai picture zhguokai  ·  3Comments