How to display data from other columns? Sometimes, you want to have more control on how data should be displayed, such as showing full [...]
Display Hyperlink From Another Field of The Same Row This demo is based on Hyperlink to Call JavaScript Function. It triggers a JavaScript event [...]
Column Freeze You can now use the set_col_frozen() method to set the column freeze method. It’s useful [...]
Hyperlink to Call JavaScript Function You can show hyperlink using set_col_link for static link or set_col_dynalink for dynamic link. [...]
Required fields To set fields as required in an editable grid, use set_col_required() method. If required [...]
Read only fields Sometimes we don’t want certain fields to be editable, then we can use set_col_readonly() [...]
Image Display Display image is easy in phpGrid. Simply set the column name in set_col_img(), phpGrid will [...]
Data Format Display phpGrid comes with several frequently used data formatter through set_col_format() method. [...]
Display Dynamic URL From example above, we learn that phpGrid can display simple, static URL using set_col_link() [...]
Hyperlink Display You can display the text in column as static hyperlink by calling set_col_link() and passing [...]
Set Grid Height and Width Use set_dimension() method to specify grid initial height and width. The default height and [...]
Hide Column For columns need not to be shown, such as primary key, use method set_col_hidden() to hide [...]
Descriptive Column Header By default phpGrid pulls out the data field name defined in database as the header for each [...]