JavaScript Blog
Sunday, July 3, 2016
How to check whether array values are same in java script
Hi
for(i=1;i<data.length;i++){
if(data[i].type != data[0].type) {
alert('Select similar type of value');
return;
}
}
How to check whether array values are same in java script
Hi
for(i=1;i<data.length;i++){
if(data[i].type != data[0].type) {
alert('Select similar type of value');
return;
}
}
Wednesday, June 22, 2016
ExtJS: How to convert long date value to mm/dd/yyyy H:i:s format
Hi
Please write the following code in your model file
Model.js
{
name: 'DateTme',
type: 'date',
convert:function(v,record){
return Ext.Date.format(new Date(v), 'm-d-Y H:i:s');
}
View File.js
name:'DateTime',
dataIndex:'date'
Sunday, June 19, 2016
ExtJS: Grid filter the column value
Hi
User want to filter particular value in store
var store = Ext.data.StoreManager.lookup('Your Store ID Name');
store.filter('age', 15);
ExtJS: Clear store values
Hi
var store = Ext.data.StoreManager.lookup('Your Store ID Name');
store.clearFilter();
ExtJS: Store value sorting and update in Grid
Hi
var store = Ext.data.StoreManager.lookup('Your Store ID Name');
store.filterBy(function(record, id) {
if (record.get("age") != 48) {
return true;
}
return false;
}, this);
Tuesday, May 31, 2016
ExtJS: Assign the config value
Hi
How to assign the config value in extjs
SampleController
config : {
resultvalue:null
},
Your function
onClick:function() {
this.setResultValue(true);
}
onClick2:function() {
this.getResultValue();
}
Monday, May 30, 2016
ExtJS: Internal ID is Missing
Hi,
Internal Id is undefined error in Extjs. Please check your Model / Store .
Solution : Model/ Store -- Change the value from
autoload: true
to
autoload: false
Wednesday, January 20, 2016
Ext JS
Extjs
Layout run failed error in extjs5
change the layout name from "xxxxxxxxxx" to "fit"
Newer Posts
Older Posts
Home
Subscribe to:
Posts (Atom)