Release of Export, Inputs and new DataGrid package
December 27, 2017GREAT NEWS! We are happy to let you know that we have released new version for Export and Inputs package. Also, a new package called DataGrid has joined KoolReport's package family.
Export 3.0.0
In the version 3.0.0 of Export package, we have added new property to settings called resourceWaiting
. This property allows us to customize the time which Export package will wait for new coming resources. After the waiting time, Export package will start exporting content to PDF or other formats.
Previously the default waiting time is 1000ms however we found that the good amount of waiting time change server from server and case by case. For fast server and connection, you may set short waiting time to reduce the time to export. However for those slow server or bad connection, the longer waiting time should be considered otherwise page resources may not be loaded fully.
Inputs 3.0.0
The biggest change in new version of Inputs is the client event handling features. All input controls in Inputs package are equipped with clientEvents
property to set action. The common usage is like below example:
TextBox::create(array(
...
"clientEvents"=>array(
"focus"=>"function(){
console.log('focus');
}",
"blur"=>"function(){
console.log('blur');
}"
)
));
The event name is followed by a JavaScript function in string type.
The event handling allows us to catch what happens then take needed actions. To better understand of client-events, please view example
DataGrid
DataGrid is our new package to facilitate the data's display table format. The package now contains a widget called DataTables
. Beside displaying data, DataTables support advanced functionalities such as: table searching, column sorting, column reordering, paging and more.
DataGrid package is available in standalone package or in KoolReport Pro bundle.
Merry Christmas and Happy New Year
In this special occasion, we wish you have a full year of happiness and development. If you have not known, we are offering 30% OFF for KoolReport Pro. The promotion will ended soon so please hurry up to secure the offer.
<3 koolreport team