File tree 1 file changed +1
-13
lines changed
1 file changed +1
-13
lines changed Original file line number Diff line number Diff line change @@ -103,10 +103,6 @@ class GridView extends Component {
103
103
* @member {Neo.data.Store|null} store_=null
104
104
*/
105
105
store_ : null ,
106
- /**
107
- * @member {Boolean} useRowRecordIds=true
108
- */
109
- useRowRecordIds : true ,
110
106
/**
111
107
* Stores the indexes of the first & last painted columns
112
108
* @member {Number[]} visibleColumns_=[0,0]
@@ -667,15 +663,7 @@ class GridView extends Component {
667
663
* @returns {String }
668
664
*/
669
665
getRowId ( record , index ) {
670
- let me = this ,
671
- { store} = me ;
672
-
673
- if ( me . useRowRecordIds ) {
674
- return `${ me . id } __tr__${ record [ store . keyProperty ] } `
675
- } else {
676
- index = Neo . isNumber ( index ) ? index : store . indexOf ( record ) ;
677
- return me . vdom . cn [ index ] ?. id || Neo . getId ( 'tr' )
678
- }
666
+ return `${ this . id } __tr__${ record [ this . store . keyProperty ] } `
679
667
}
680
668
681
669
/**
You can’t perform that action at this time.
0 commit comments