Saving Modal Window

When saving a dynamicForm you get a helpful prompt indicating the form is saving, but with listGrids you do not.

How do I go about adding one?

I looked at showPrompt but it doesn’t seem to do anything, the documentation has it as a function but a search on here shows it as a boolean.

I’ve included my code below encase the issue is with my implementation.

isc.RestDataSource.create({
	ID: "mygridds",
	dataProtocol:"getParams",
	showPrompt:true,
fields:[
{name: "FIELD1", hidden:true, title: "Field 1", type:"text", canEdit: false, primaryKey: true}, 
{name: "FIELD2", hidden:true, title: "Field 1", type:"text", canEdit: true}, 
{name: "FIELD3", hidden:true, title: "Field 1", type:"text", canEdit: true}, 
{name: "FIELD4", hidden:true, title: "Field 1", type:"text", canEdit: true}, 
{name: "FIELD5", hidden:true, title: "Field 1", type:"text", canEdit: true}, 
{name: "FIELD6", hidden:true, title: "Field 1", type:"text", canEdit: false}, 
{name: "FIELD7", hidden:true, title: "Field 1", type:"text", canEdit: true}
	]
, dataFormat:"xml"




	    , operationBindings:[
		{operationType:"fetch",
		 dataURL:"fetch"
		 },
		{operationType:"add",
		 dataURL:"add"
		 },
		{operationType:"update",
		 dataURL:"update"
		 },
		{operationType:"remove",
		 dataURL:"remove"
		 }
	 ]

});



isc.ListGrid.create({
	ID: "mygrid",
	width:"100%", height:"100%", alternateRecordStyles:true, saveByCell:false, showAllRecords:true,
		dataSource:mygridds
		, autoSaveEdits:false
		, loadingDataMessage: "Searching ... "
	, autoFetchData: true
	, editEvent: "click"
	, canEdit: true
	, editByCell: true
});

There is a showPrompt setting and a showPrompt method - both are documented.

You aren’t seeing a prompt because by default, ListGrid saves are not modal - the user can continue editing while the save is taking place and the ListGrid handles all the edge cases that arise from this. To make saving modal, set listGrid.waitForSave:true and a prompt will appear.