Element: [Feature, Request], table, cell-click, how, to, get, the, $index, cell

Created on 14 Sep 2017  ·  5Comments  ·  Source: ElemeFE/element

Existing Component

Component Name

table

Description

how can i get the index of the click cell.

@cell-click (row, column, cell, event)

how about add $index or scope param for cell-click

thanks

Most helpful comment

All 5 comments

Translation of this issue:

Existing Component

yes

Component Name

Table

Description

How, can, I, get, the, index, of, the, cell., click

```javascript
@cell-click (row, column, cell, event)

.
How, about, add, $index, or, scope, param, for, cell-click

Thanks

@Leopoldthecoder It's give rowIndex, how can we get call index

https://jsfiddle.net/smfcyd9e/

This method only get the location of metadata, can not get the sorted node location!

https://jsfiddle.net/smfcyd9e/

Can you show me the code. I can't get the page.

Was this page helpful?
0 / 5 - 0 ratings