//To connect the Database
<?php
$username = "root";
$password = "Treegrid";
$hostname = "localhost";
//connection to the database
$dbhandle = mysql_connect($hostname, $username, $password)
or die("Unable to connect to MySQL");
$selected = mysql_select_db("tgrid",$dbhandle)
or die("Could not select examples");
//execute the SQL query and return records
$result = mysql_query("SELECT taskID, taskName,startDate, endDate,duration,parentID FROM gantt");
//fetch tha data from the database
$emparray=array();
while ($row = mysql_fetch_assoc($result)) {
$emparray[]=$row;
}
echo json_encode($emparray);
//close the connection
mysql_close($dbhandle);
?> |
//To render TreeGrid
<script type="text/javascript">
$(function(){
var data = ej.DataManager({
url:"http://localhost:10080/phpsample/database.php",
});
$("#treegrid").ejTreeGrid({
//
dataSource: data,
});
});
</script> |
·
Grid,
·
Schedule Reporting controls (ReportViewer),
·
Business Intelligence components
(Pivot Grid)
·
File Format products
(PDF and Presentation)
As I'm completely new to .NET world, Its little bit clumsy to understand the above statement. Does it mean that we cant integrate these components with Java REST APIs??
I installed the trial version of Syncfusion EJ studio in my system and while i tried to run the sample applications it throws an alert by sating that i need to install IIS and .Net to get them run ....
Using this studio, Should i be able to select the component which i would like to use and customize it and then export the relevant code and use it in my web application??
As of now, none of the options are available for me in my local set up.
Kindly help me.
Thanks
Chitra