What is the easiest way to not show the user the message “Finding records that match your criteria”. I implemented paging for grid and do not want to show this message when user is scrolling from page to page. I tried to set dsRequest.showPrompt(false) in my data source but it does not work.
Thanks,
David
My datasource code is below
<DataSource ID="providerDS"
serverType="generic">
<fields>
<field primaryKey="true"
name="providerId" title="PROVIDER_ID" hidden="true" type="sequence" />
<field name="name" title="NAME" type="text" />
<field name="tinTxt" title="TIN_TXT" type="text" />
<field name="cityNm" title="CITY_NM" type="text" />
</fields>
<serverObject lookupStyle="new" className="com.ze.rad.persistence.ProviderDMI"/>
<!-- You can define an operationBindings section to bind operation names to server method
(potentially additionally discriminated by the operationId).
In the absense of this section, the server will look for a server method named after
the operationType.
-->
<!--
<operationBindings>
<binding operationType="fetch" serverMethod="fetch">
<serverObject lookupStyle="new" className="com.isomorphic.examples.SupplyItemDMI"/>
</binding>
</operationBindings>
-->
<transformRequest>
<JS>
function (dsRequest) {
if (dsRequest.operationType == "fetch") {
dsRequest.showPrompt(false);
}
return dsRequest.data;
}
</JS>
</transformRequest>
</DataSource>