Admiro Dashboard Theme For Appgini
  • Introduction
  • Installation Guide
  • General Settings
  • Table Menu Settings
  • Dashboard Builder
  • Custom Page Builder
  • Reports Builder
  • Translation Tool For Admiro
  • File Manager
  • Widget Functions
    • Data Card
  • Sweet Alert
  • Alert
  • Welcome Banner
  • Statistics Counter Card
  • Basic Table
  • Data Table
  • Modal
  • Full Calendar
  • Drop Zone
  • Line Chart
  • Area Chart
  • Bar Chart
  • Column Chart
  • Pie Chart
  • Donut Chart
  • Timeline Chart
  • Options
Powered by GitBook
On this page
  • Structure
  • Parameters
  • Example Usage
  • The output

Basic Table

PreviousStatistics Counter CardNextData Table

Last updated 7 months ago

The basic table displays a responsive table on your page, you can use this function to display data using a query that you supply in.

Structure

responsiveTable($title = "Table title", $dataquery, $sizeclass = "col-12")

Parameters

The responsive table has 3 parameters only that we will explain below

  • Title- This will be the title displayed for this table

  • Data Query- This is an sql query that you will pass in using the sql() inbuilt Appgini function to fetch data.

  • Size- This is the size class for this table , default is col-12

Example Usage

echo responsiveTable('Shippers',sql("SELECT * FROM shippers",$eo),'col-12');

The output