Remove a record from grid connector

I use a grid connector. Then I want to remove a row of a record from a grid connector.

I find a problem using in < remove() > . No action.

 function DelRecord() {

        var selectedItem = grdResult.getSelectedRowId();


I also provide a comleted code.
completed demo.rar (294 KB)

valid command will be