Search:

Type: Posts; User: tsensuous.grace

Page 1 of 2 1 2

Search: Search took 1.79 seconds.

  1. XSS Payload- how to prevent js throwing an alert

    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,...
  2. Ext container layout breaking the multiselect combo box component while selecting an

    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...
  3. Best way to get index of an element in a Container

    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...
  4. How to upload files in Json format only-EXTJS

    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"...
  5. How to handle clicks on multiple tags inside a "div" tag-EXTJS

    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...
  6. How to get a child element innerhtml using the parent classname in EXTJS

    I have an html:


    <div class="parent">
    <span class="child">Child elements</span>
    </div>


    code:
  7. Highcharts - Display legend for Pie chart in two columns

    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...
  8. How to apply click handler to multiple elements inside a template

    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...
  9. How to pass extra params to the store using the storeId

    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)...
  10. Can you plz show with an example?

    Can you plz show with an example?
  11. I think its a built-in class for the high charts...

    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?
  12. below is the whole function for creating the...

    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"); ...
  13. How to add a class to the element class in EXTJs

    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...
  14. so I have condition depending on which i need to...

    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
    ...
  15. This is an existing code in the appln and I dont...

    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...
  16. How to add id attribute to a div-EXTJS3

    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.
    ...
  17. I tried that too with the actual xtype name, but...

    I tried that too with the actual xtype name, but Ext.QueryComponent returns undefined. not sure if this is meant for EXT-3.
  18. That post cleary indicated its not for EXT3. I...

    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
  19. How to loop through the items in Ext.menu.Menu and delete items with a specific prop

    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:...
  20. How to delete multiple objects whose id='null' -EXTJS

    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:{
    ...
  21. How to get the xtype of an instantiated component in EXT-3?

    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...
  22. How to get the xtype of an instantiated component in EXT-3?

    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...
  23. Ext.form.TwinTriggerField Ext.extend($cls,...

    Ext.form.TwinTriggerField


    Ext.extend($cls, Ext.form.TwinTriggerField, {

    initComponent : function() {
    }

    });
  24. Well this filter is more of a dropdown search...

    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...
  25. Is there any to add a listener to the filter date property

    I have a date filter that I want to add a listener to, something like:


    fields: [{
    filter: {
    xtype: 'superdate-search-field',
    ...
Results 1 to 25 of 35
Page 1 of 2 1 2