On nm init check for grid total number to avoid placeholder actions

This commit is contained in:
Hadi Nategh 2018-07-04 16:57:09 +02:00
parent f9fa811e2e
commit 2bc4f2b8a4

View File

@ -232,7 +232,7 @@ var et2_dataview_controller = (function(){ "use strict"; return Class.extend({
{ {
// No rows, start with an empty // No rows, start with an empty
this._selectionMgr.clear(); this._selectionMgr.clear();
this._emptyRow(this._grid._total); this._emptyRow(this._grid._total == 0);
} }
}, },