You are here

function slickgrid_callback_settings in Slickgrid 6

Same name and namespace in other branches
  1. 7 includes/slickgrid.callbacks.inc \slickgrid_callback_settings()

Callback function - update a view's settings

File

./slickgrid.callbacks.inc, line 174

Code

function slickgrid_callback_settings() {
  global $user;
  slickgrid_set_settings($user->uid, $_POST['view'], array(
    $_POST['setting'] => $_POST['value'],
  ));
}