7 Archives | phpGrid - PHP Datagrid Create PHP grids in minutes, not hours. Tue, 18 Jul 2023 18:05:38 +0000 en-US hourly 1 CodeProjecthttps://wordpress.org/?v=7.0.3 129966043 form_only() * https://phpgrid.com/documentation/form_only/ Mon, 17 Oct 2016 00:33:58 +0000 http://phpgrid.com/?p=9038 * Please note Form-only mode is only available in paid versions. It is supported from version 7.0 and above. Parameter(s): none Description: Display the add form only without the datagrid. The form will remain on the screen and reset after each successful submit. Remark: Must call enable_edit(‘FORM’) prior to form_only(). Example: 1$dg -> enable_edit('FORM') -> form_only();

The post form_only() * appeared first on phpGrid - PHP Datagrid.

]]>
* Please note Form-only mode is only available in paid versions. It is supported from version 7.0 and above.

  • Parameter(s):
    • none
  • Description:
    • Display the add form only without the datagrid. The form will remain on the screen and reset after each successful submit.
  • Remark:
    • Must call enable_edit(‘FORM’) prior to form_only().
  • Example:
1
$dg -> enable_edit('FORM') -> form_only();

The post form_only() * appeared first on phpGrid - PHP Datagrid.

]]>
9038
add_form_group_header() https://phpgrid.com/documentation/add_form_group_header/ Fri, 14 Oct 2016 00:33:59 +0000 http://phpgrid.com/?p=9040 Parameter(s): $before_col_name: Name of column name before which display group header text $text: Group header text Description: Display text before specified column in modal form. Example: 1$dg -> add_form_group_header('employeeNumber', 'Employ Details');

The post add_form_group_header() appeared first on phpGrid - PHP Datagrid.

]]>
  • Parameter(s):
    • $before_col_name: Name of column name before which display group header text
    • $text: Group header text
  • Description:
    • Display text before specified column in modal form.
  • Example:
  • 1
    $dg -> add_form_group_header('employeeNumber', 'Employ Details');

    The post add_form_group_header() appeared first on phpGrid - PHP Datagrid.

    ]]>
    9040
    add_form_tooltip() https://phpgrid.com/documentation/add_form_tooltip/ Fri, 14 Oct 2016 00:33:59 +0000 http://phpgrid.com/?p=9041 Parameter(s): $col_name: Name of column name for the tooltip $tooltip_text: Tool tip text $symbol: Tooltip symbol. Default to (?) with CSS class name “tooltip_sym” Description: Display tool tip for a specified column in modal form. The default tooltip CSS class name is “tooltip_sym”. Example: 1$dg -> add_form_tooltip('email', 'Got mail?');

    The post add_form_tooltip() appeared first on phpGrid - PHP Datagrid.

    ]]>
  • Parameter(s):
    • $col_name: Name of column name for the tooltip
    • $tooltip_text: Tool tip text
    • $symbol: Tooltip symbol. Default to (?) with CSS class name “tooltip_sym”
  • Description:
    • Display tool tip for a specified column in modal form. The default tooltip CSS class name is “tooltip_sym”.
  • Example:
  • 1
    $dg -> add_form_tooltip('email', 'Got mail?');

    The post add_form_tooltip() appeared first on phpGrid - PHP Datagrid.

    ]]>
    9041
    redirect_after_submit() https://phpgrid.com/documentation/redirect_after_submit/ Fri, 14 Oct 2016 00:33:58 +0000 http://phpgrid.com/?p=9042 Parameter(s): $url: Redirect URL Description: Redirect form after submit. Remarks: It does not validate whether the submit is successful. Example: 1$dg -> redirect_after_submit('http://php.net')

    The post redirect_after_submit() appeared first on phpGrid - PHP Datagrid.

    ]]>
  • Parameter(s):
    • $url: Redirect URL
  • Description:
    • Redirect form after submit.
  • Remarks:
    • It does not validate whether the submit is successful.
  • Example:
  • 1
    $dg -> redirect_after_submit('http://php.net')

    The post redirect_after_submit() appeared first on phpGrid - PHP Datagrid.

    ]]>
    9042
    load_form() https://phpgrid.com/documentation/load_form/ Fri, 14 Oct 2016 00:33:58 +0000 http://phpgrid.com/?p=9043 * Paid version only.  Supported from version 7.0 and above. Parameter(s): $key: A database table primary key value. Description: Load an existing record from DB and display in edit form without the datagrid. The form will remain on the screen after submit. Remark: Must call enable_edit(‘FORM’) and form_only() first Only can be used in conjunction with form_only() Example: 1$dg […]

    The post load_form() appeared first on phpGrid - PHP Datagrid.

    ]]>
    * Paid version only.  Supported from version 7.0 and above.

    • Parameter(s):
      • $key: A database table primary key value.
    • Description:
      • Load an existing record from DB and display in edit form without the datagrid. The form will remain on the screen after submit.
    • Remark:
    • Example:
    1
    $dg -> enable_edit('FORM') -> form_only() -> load_form(8888);

    The post load_form() appeared first on phpGrid - PHP Datagrid.

    ]]>
    9043