I am trying to write a test for the sqleditor that checks that if _render() function (in sqleditor.js) is called with w query results that include primary keys, then the grid should be editable (I need to check grid options, gridView.grid.getOptions() ).
I also want to check that if the user edits a cell in the grid, the Save Data button (new button) is enabled. Is this feasible ?
This is similar to what is done in - web/regression/javascript/sqleditor/execute_query_spec.js for btn-flash.
The problem is not with checking the button. How do I mimic the user editing the grid? I cannot create a grid with all its options in the test.