status display Archives | phpGrid - PHP Datagrid Create PHP grids in minutes, not hours. Fri, 04 Nov 2016 02:52:17 +0000 en-US hourly 1 CodeProjecthttps://wordpress.org/?v=7.0.3 129966043 CRUD success/error status display https://phpgrid.com/example/crud-successerror-status-display/ Fri, 04 Nov 2016 00:33:57 +0000 http://phpgrid.com/?p=9050

Starting version 7, phpGrid now displays status of either success or error confirmation messages without configuration. There is no additional programming required to enable this new feature in 7.0. Prior to phpGrid version 7, you can simulate the notification with the following. 123456789<pre id="_changes_debug_ajaxresponse"></pre> <script type="text/javascript"> // replace "phpGridx" with your path to phpGrid $(document).ajaxComplete(function( […]

The post CRUD success/error status display appeared first on phpGrid - PHP Datagrid.

]]>

Starting version 7, phpGrid now displays status of either success or error confirmation messages without configuration. There is no additional programming required to enable this new feature in 7.0.

Prior to phpGrid version 7, you can simulate the notification with the following.

1
2
3
4
5
6
7
8
9
<pre id="_changes_debug_ajaxresponse"></pre>
<script type="text/javascript">
// replace "phpGridx" with your path to phpGrid
$(document).ajaxComplete(function( event, xhr, settings ) {
  if ( settings.url.split('?')[0] === "/<PATH TO PHPGRID FOLDER>/edit.php" ){  
    $("#_changes_debug_ajaxresponse").text(xhr.responseText);
  }
});
</script>

The post CRUD success/error status display appeared first on phpGrid - PHP Datagrid.

]]>
9050