If initial rows has no rows, add an empty row placeholder.

This way add context menu items work without clicking search first.
This commit is contained in:
Nathan Gray 2014-04-07 14:44:52 +00:00
parent 6f2e068706
commit 99023a7812

View File

@ -225,6 +225,11 @@ var et2_dataview_controller = Class.extend({
// Don't try to insert the rows, grid will do that automatically // Don't try to insert the rows, grid will do that automatically
} }
if(idx == 0)
{
// No rows, start with an empty
this._emptyRow();
}
}, },
/** /**