jQuery EasyUI datagrid | How to solve “no text wrapping” problem

| By Webner

See the screenshot below : Line no 7 and 8 indicate problems due to no word wrapping Solution : Use Javascript property ‘nowrap=false’ in your datagrid creation. Code : <table id=”dg” title=”Activity Info” class=”easyui-datagrid” style=”width:100%;height:81%” toolbar=”#toolbar #searchtoobar” nowrap=”false” rownumbers=”true” fitColumns=”true”

Database Connectivity with Selenium Webdriver

| By Webner

How to connect to Mysql in Selenium script? Step 1: Import Mysql connector (JDBC driver): Download connector from: Find-ur-pal Download this jar file and import in Eclipse : MySQL-connector-java-5.1.18-bin.jar Follow these steps in Eclipse: Add the downloaded Jar to your

PHP | Deleting files from local machine (unlink(): No such file or directory)

| By Webner

Assume following is the path on your system in which you want to delete some files through code (unlink function): C:\wamp\www Now if we use the same address in source variable (“C:\wamp\www”), it gives the following error: unlink(): No such

HTML | Browser Notifications

| By Webner

Below is the sample code to get permission of user to display browser notifications in case he approves. Save the following code in simple HTML file: <script> document.addEventListener(‘DOMContentLoaded’, function () { if (Notification.permission !== “granted”) { Notification.requestPermission(); } }); function