Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Learning DHTMLX Suite UI

You're reading from   Learning DHTMLX Suite UI Create your first single-page JavaScript application using multiple DHTMLX components and a touch of HTML5

Arrow left icon
Product type Paperback
Published in Oct 2013
Publisher Packt
ISBN-13 9781849699334
Length 132 pages
Edition 1st Edition
Arrow right icon
Author (1):
Arrow left icon
Eli Geske Eli Geske
Author Profile Icon Eli Geske
Eli Geske
Arrow right icon
View More author details
Toc

Test the application


First, clear our local storage data once again.

Type and run the following code in the console:

localStorage.clear()

Now, refresh the page and the chart and grid should be empty.

We are going to add some users to the application, but first we need to take a look at something. Click on the add button for the pop up. Move the pop-up window over the chart by dragging the header. In the current version, at the time of writing this book, the chart has a higher z-index than the pop-up window, which doesn't allow us to use the pop up correctly. This can be fixed with a small CSS change.

If you are having this issue, let's fix it by going into our index.html CSS and adding the following CSS to the end of our styles:

.dhx_chart{ z-index: 1; }

Now, refresh the page and try using the pop up once again. Everything works and the pop-up window is on top once again.

Let's start adding some data. Use the pop-up window to add the following users:

  • John Smith, jsmith@email.com, 1-1-1963

  • Tim Smith...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Banner background image