SQL 2 Excel Pro - Data Grid Plugin PDF Print E-mail

The SQL 2 Excel Pro Data Grid Plugin allows you to embed data from any valid SQL query as a simple HTML table embedded in your article/content. The queries, defined in SQL 2 Excel Worksheets, can be simple, or very complex joining two or more tables, min/max, grouping, roll-up, sorting etc etc.  And SQL 2 Excel Pro allows you to setup database connections so the data can even be pulled from remote databases if needed.

sql2excel_datagrid_04

Installation

Requirement: SQL 2 Excel Pro v2.2.1 or higher

  1. Download the Data Grid Plugin from the Members Site
  2. Install the plugin using the standard Joomla extension installation
  3. Go to Extension > Plugin Manager and locate the "SQL 2 Excel Pro Data Grid Plugin"
  4. Enable the "SQL 2 Excel Pro Data Grid Plugin" Plugin

Usage


In any Joomla content item, add the following tags :
{sql2excelgrid}Workbook_ID:Worksheet_ID{/sql2excelgrid}

for example:

{sql2excelgrid}2:3{/sql2excelgrid}

..to display Worksheet ID=3 in Workbook ID=2

The reason you need to specify the Workbook ID is because we may have Workbook parameters which needs to be passed to the Worksheet,


Edit the article and add the tags:

sql2excel_datagrid_01


When the article is rendered in the frontend the plugin tags aredynamically replaced with the Worksheet data. Here's an example on what it could look like:

sql2excel_datagrid_02sm

Configuration

You can configure the look and feel of the data grid tables using the Plugin Parameters:

sql2excel_datagrid_03


Advanced

The default Workbook parameter values will be used when the SQL query for the Worksheet is evaluated. You can however set the values for your Workbook parameters for the plugin, by using this syntax :

{sql2excelgrid}2:3,MYPARM1=10,MYPARM2=3{/sql2excelgrid}

Note how the values of the MYPARM1 and MYPARM2 workbook parameters values has been defined.

Comments (1)add comment

Rob said:

0
...
Using worksheet queries in content articles needs caching i think ... Or is the article itself already cached?
 
November 05, 2009
Votes: +0

Write comment

security image
Write the displayed characters


busy
 
 
  Design by augs-burg.de & go-vista.de  
 
     
 
   
 

The Joomla!(R) name is used under a limited license from Open Source Matters in the United States and other countries. http://Joomla-R-Us.com is not affiliated with or endorsed by Open Source Matters or the Joomla! Project.