Quantcast
Channel: Binod Java Solution
Browsing latest articles
Browse All 53 View Live

ExtJs 5.1 GridPanel Basic Example Getting Start

Found some changed while migrating my product from Extjs 4 5o Extjs 5.1, so thought to share with you all.Here below is very basic example of GridPanel:<!DOCTYPE html><html...

View Article



ExtJs 5.1 GridPanel Plugin gridfilters Example Getting Start

Here we will use plugins: 'gridfilters', for adding filter functionality in GridPanel.This plugins: 'gridfilters', is new plugin has been added in ExtJS 5.1 for filter to reduce a lot of codes.Use this...

View Article

Extjs 5.1 GridPanel plugins: 'gridfilters' and listeners example

Example contains multiSelect, plugins, checkchange and grid panel listeners.<!DOCTYPE html><html lang="en"><head>    <meta charset="UTF-8"/>    <title>Extjs 5.1 Grid...

View Article

Extjs 5.1.0 Checkbox of GridPanel deselect event not working. checkboxmodel...

I think, this is a bug in Extjs 5.1.0 for CheckboxModel selectionchange doesn't fire when unselect rows.Add below code where you define selModel:selectWithEventMulti: function(record, e, isSelected) {...

View Article

Extjs 5.1.0 Ext.data.field.convert example How to perform some processing...

Some time you feel to create new column in grid based on the existing column like create firstname from given full name or create insertion date.Sometimes a simple type isn't enough, or we want to...

View Article


Extjs Pagination, pagingmemory Example, Extjs 4.1.0 Grid Panel with Sorting...

<!DOCTYPE html><html lang="en"><head>    <meta charset="UTF-8"/>    <title>ExtJS 4.1. Grid Pagination Example</title>  <link rel="stylesheet"...

View Article

extjs 5.1.0 pagingmemory example extjs 5.1.0 pagingmemory alternative Ext JS...

 pagingmemory config was working very fine till Ext JS 4 BUT it seems some issue is there in Ext JS 5. So we can not use pagingmemory directly, in stead we have to manually handle data from pagination....

View Article

Ext js 5.1 tutorial, ExtJS GridPanel example getting start, pagingmemory in...

When you migrate from ExtJS 4 to 5 then you will find out that lot of things in GridPanel has been changed. If you have implemented "pagingmemor" in ExtJS 4.x then it will not work in ExtJS 5.1, cause...

View Article


Extjs 5.1.0 how to Change grid panel row select color by cls. Ext Js 5...

In Extjs 5.1 this below is CLS class for selected row in GridPanel.x-grid-item-selected .x-grid-cellYou can override this cls for your customization for row selected cls.Full Example:<!DOCTYPE...

View Article


Java BigInteger Example How to use BigInteger Factorial of large data Convert...

BigInteger:All most all number data type in Java has some limit but what you will do if you have to do some calculation on big data like calculate factorial of 100 or 500 :)There is no theoretical...

View Article

Extjs 5.1 ContextMenu Example, Menu not hiding if menu item is never focused,...

Very basic example with running code for ContextMenu with menu action on ExtJS 5.1.0Along with one workaround solution for a bug that is there in Extjs 5.1. Bug is:If you right click on any row then...

View Article

ExtJS 5.1 Paging Tool bar example, Pagination for Grid, Ext.PagingToolbar bug...

Here I am going to show one very basic example for Pagination (Paging Tool Bar), along with one very basic issue fixed.Bug is there in Extjs 5.1 that if you go last page of your grid and enter some...

View Article

ExtJs 5.1 Paging tool not showing correct data when its load, Ext js...

ExtJS 5.1 has one bug that when you load grid panel then first time it will not show correct paging number in paging tool. Once you do page next then it starts working.During page load time it always...

View Article


ExtJS Editable grid panel, extjs - Altering data in Ext.data.Model, Ext JS...

Very basic example of ExtJS 5.1 Grid Panel with editable column functionality.For making column as editable, add two things:1. Add below plugin to your grid panelplugins: [...

View Article

Java Difference between NoClassDefFoundError VS ClassNotFoundException in Java

** Difference between NoClassDefFoundError VS ClassNotFoundException in Java **Both exception due to missing classes in classpath.First we will see : NoClassDefFoundError Class Car{}Class Demo{  public...

View Article


Java Regex to Validate IPV4, IPV6 IP address and Port range, Java IP address...

private static final String ipv4Pattern = "(([01]?\\d\\d?|2[0-4]\\d|25[0-5])\\.){3}([01]?\\d\\d?|2[0-4]\\d|25[0-5])";private static final String ipv6Patten =...

View Article

How to call ElasticSearch in debug mode, ElasticSearch 2.2 starts in debug...

Inside bat file, from where you are calling ElasticSearch (In my case E:\Software\elasticsearch-2.2.1\bin\elasticsearch.bat) add these...

View Article


How to write ElasticSearch 2.2 plugin, Getting start Elasticsearch Plugin,...

How to develop custom plugin for ElasticSearch 2.2What is Plugin:Plugins are a way to enhance the basic elasticsearch functionality in a custom manner. They range from adding custom mapping types,...

View Article

SSL enable Server and Client side code, KeyStore, KeyManagerFactory,...

SSL (Secure Sockets Layer) provides a secure connection between internet browsers and websites, allowing you to transmit private data online. Server used to have private and public key (key OR...

View Article

Export and import via curl kibana’s dashboards and visualizations, Kibana...

First in create some index and data in first ElasticSearch. As per my example:{ "_index": "twiteer_one",            "_type": "tweet",            "_id": "2",            "_score": 1,...

View Article

Create index in kibana using curl command, Index creation in Kibana by code,...

Your ElasticSearch Servar and Kibana server should be running during this poc.Just assume,Kibana is running at 10.20.30.40:5601First requirement, you should have same index in your Elasticsearch for...

View Article


java.util.Optional, Tired of Null Pointer Exceptions, get rid of Null Pointer...

See this below java code to add two Integer:public Integer sumOfTwoInteger(Integer a, Integer b){      return a + b;   }Here, sumOfTwoInteger() method at all not taking care of any of the method...

View Article


How to Call R from Java using Rserve, R Programming through Java

We will use Rserve software to connect our Java code to R environment. Rserve is a TCP/IP server which allows other programs to use facilities of R  from various languages without the need to...

View Article

Connect Amazon S3 from Java code. Amazon S3 with Java. Amazon S3 Java code...

Login to aws.amazon.comCreate one user from IAM and give access these things:AWSConnectorAmazonS3FullAccessAnd copy "Access Key" and "Secret Access Key" and it will using in your java code to establish...

View Article

Steps To Build Web Server Docker Image - 2 min job

I assume you must be knowing what is Docker, Container and their concept.Here I am giving only basic steps to develop Docker Image for web based application. This tutorial will give you very basic...

View Article

Browsing latest articles
Browse All 53 View Live




Latest Images