Knp Paginator – Bootstrap-v4-Pagination template

Here example for knp paginator template in Bootstrap v4

This can be download from this github link

Font source change to Dev and production in CSS with SCSS

I want to use RobotoDraft font in my project and while development I don’t want to download it from CDN due to network connection and to avoid proxy issue. So I need to use two different types like local saved fonts in development environment and fonts.googleapis.com CDN path in production environment.

So here what i did.
I have created one mixin called RobotoDraft.scss in fonts folder

 

how to set proxy for command prompt in windows

Sometimes we need to use commend prompt to install/update application dependencies. If we are accessing internet using any proxy then directly we cannot access from commend prompt.
So we need to use http_proxy and https_proxy windows environment variables with proxy and credentials.

For example consider my proxy details like below:
proxy: 123.456.789.10
port: 8084
username: sara
password: pass@1234

My password contains special symbol. So I need to to pass equivalent HEX value. Here equivalent @ is 0x40. Same way other hex values for all special symbols available here (http://www.ascii.cl/htmlcodes.htm)

Flex – PopUpAnchor close on outside click

I had a one scenario like once popupanchor open then that popup should should close on mouse clicked anywhere outside that popupanchor. To achieve this we can use Flex “mouseDownOutside” (FlexMouseEvent.MOUSE_DOWN_OUTSIDE) event. We can do that both Flex and Actionscript logic.

If you are add directly MOUSE_DOWN_OUTSIDE event to popupanchor then its wrong. You should use “popup” IFlexDisplayObject instance with popupanchor,

frmPUA.popUp

Code will be like this… (Right click for source download)

Output is like the below.

ExtJs or Sencha touch call custom Dateformat function in XTemplate

In this post I am going to show how to call custom date-format function which is help to convert some date format to user defined format. For example while saving date-time value to database(here MySQL) it will save like this 20140625 and in sencha touch screen i want to display like this 25 Jun 2014.

I already created some custom utilities function to convert dates. Lets see the method to convert custom date format to user defined date format.

ExtJs or Sencha touch call custom Dateformat function

In this post I am going to show how to call custom date-format function which is help to convert MySQL date-format user defined format. For example while saving date-time value to database(here MySQL) it will save like this 2014-06-25 11:34:16 and in sencha touch screen i want to display like this 25 Jun 2014 11:34 AM.

I have already created some custom utilities function to convert dates. Lets see the method to convert MySQL date to user defined date format.

The output screen like the below

sencha touch dateformat screen
sencha touch dateformat screen

Flex sprak RadioButtonGroup get selected value and set default value

In this sample we will see how to set default selected value to radio button and how to get the selected radio button value. Here I used RadioButtonGroup change event. So, in every change of radio buttons belongs to RadioButtonGroup will get fired.

Output is like the below.