Quantcast
Channel: Xtivia » javascript
Browsing latest articles
Browse All 11 View Live

Dynamic DataTables Headers Using AngularJS

We had a requirement in an AngularJS portlet to make jQuery DataTable columns dynamic. Normally, DataTable fetches a JSON object that contains the headers and uses that object to instantiate the...

View Article



Image may be NSFW.
Clik here to view.

Get Mobile!

If you have reached this blog post, I guess it is because either you are bored (there are better things to do when you are bored, by the way…), you are interested on how to develop mobile apps (ok,...

View Article

Why Do You Need Custom Filters in AngularJS?

Why Custom Filters? Filters in AngularJS are mainly used for display purposes – to show a text in a specific way or to filter an array based on a certain pattern. We’ll see examples for both cases....

View Article

Phonegap… Why and When

What is Phonegap? If you don’t already know, Phonegap is a cross platform framework that uses HTML5, JavaScript and CSS to build mobile applications. Phonegap is a distribution of Apache Cordova (for...

View Article

The Impact of Scopes in Angularjs

Scopes in AngularJS define where every variable is visible and where it’s not. Scopes are hierarchical, where every parent scope is visible in the child scope but not the other way around. $rootscope...

View Article


Image may be NSFW.
Clik here to view.

Why AngularJS? Why now?

Should we use AngularJS?  Should we use it now? In light of the announcement by the AngularJS team to release AngularJS 2.0 as a total rewrite, it is a valid question to ask: Should we build new...

View Article

Image may be NSFW.
Clik here to view.

Creating Instanceable Liferay Portlets with AngularJS

AngularJS is a great framework for Single Page Applications (SPAs) – it’s easy to learn and use. There’s no reason not to (and actually every reason to) create your Liferay portlets as AngularJS SPAs....

View Article

Accessing InforCRM control values from Javascript

Often when one needs to access the value set in an HTML control from the client side script it is tempting to reach into the DOM object and retrieve it directly, using something like this for example:...

View Article


AngularJS i18n example

Sometimes we need a mobile app  to be internationalized when we use AngularJS. AngularJS supports i18n/l10n for date, number and currency filters. If we want to change something as simple as a literal,...

View Article


Including custom javascript in InforCRM

When you need to include a custom javascript in the InforCRM web client, the quickest way is to simply add the <script> tag to the base.master file. However this complicates upgrades because the...

View Article
Browsing latest articles
Browse All 11 View Live




Latest Images