I'm trying to encode the string:
using
Ext.util.Format.htmlEncode("localhost.loca<img src=x onerror=alert(1)>ldomain")
I also tried
Ext.String.htmlEncode, but this renders undefined for me,...
Type: Posts; User: tsensuous.grace
I'm trying to encode the string:
using
Ext.util.Format.htmlEncode("localhost.loca<img src=x onerror=alert(1)>ldomain")
I also tried
Ext.String.htmlEncode, but this renders undefined for me,...
I have a layout that I need to put side by side. The layout comprise of :
1- Combobox
2- multiselect combo
3-Textfield
Now I'm using the layout property of the container and setting it to...
Hi,
Inside my Container i have multiple rows of components.
When a user clicks on one of these components i want to know the index of that row of which the component was clicked within the...
Is there any way to configure the uploading format only in JSON and restrict any other file type.
So far Im using simple js to upload the file:
<form enctype="multipart/form-data"...
Im trying to handle a click event on a `div`.There are 2 separate click events that I need to handle on `div`, one is on element `<a>` and another on element `<span>` I have a psedo code for the...
I have an html:
<div class="parent">
<span class="child">Child elements</span>
</div>
code:
I have been using Highcharts(v2.1.9) to generate some pie charts. The charts are generated quite well, however I am having some problems with displaying the legend.
Instead of paging the rest of the...
I want to apply a click event to a `span` tag inside a `div` tag.
items: [
tpl: new Ext.XTemplate(
'<div class="test"> Hello world<span...
I want to access a param inside a store created. below is my store:
Q.define('test.DataStore', Ext.data.ArrayStore, function($supr){
return { constructor: function(cfg)...
Can you plz show with an example?
I think its a built-in class for the high charts and should be coming from there. if so isnt there a way to add class to this cont?
below is the whole function for creating the chart. is there a way to add a class to this one?
addPieChart: function() {
Ext.select('.highcharts-container').addCls("test"); ...
I'm using a chart to render a piechart for my app. I have:
Ext.query('.highcharts-container')
that gives me an array of highchart-containers and I'd like to add a custom class to every...
so I have condition depending on which i need to add the styling class. so tried this as per suggested:
this.superclass.constructor.call(this, Ext.apply({ mode: this.mode
...
This is an existing code in the appln and I dont have much control over the code sturcture. The scenarios is these menu items are concatenated together to form dropdown for a datepicker extended by...
I have a component whose 'id' is auto-generated. I want to replace that id with my own for styling purposes. I'm unable to use class for styling as the class is used by bunch of other components.
...
I tried that too with the actual xtype name, but Ext.QueryComponent returns undefined. not sure if this is meant for EXT-3.
That post cleary indicated its not for EXT3. I tried that but Ext.QueryComponent gives undefined. I was wondering if there is any alternative to write the same in EXT-3
I'm using the Ext.menu.Menu to list items and want to loop through them to look for a specific value. Js:
new Ext.Container({
width: 560,
height:...
I have list of objects whom I want to loop through to see for the value of a key, in this I want to remove objects whode id= "null". Below is snippet:
obj: {
after:{
...
I'm trying to get the component using its xtype:
Ext.ComponentQuery.query('myxtype')
that throws error" Cannot read property 'query' of undefined"
the 'Ext.ComponentQuery' is undefined din...
I'm trying to get the component using its xtype:
Ext.ComponentQuery.query('xtype')
that throws error" Cannot read property 'query' of undefined"
the 'Ext.ComponentQuery' is undefined din...
Ext.form.TwinTriggerField
Ext.extend($cls, Ext.form.TwinTriggerField, {
initComponent : function() {
}
});
Well this filter is more of a dropdown search field.something like attached.
I basically want to do stuff when a search filter is instantiated, like hide few dropdown options.
It instantiates...
I have a date filter that I want to add a listener to, something like:
fields: [{
filter: {
xtype: 'superdate-search-field',
...