Search Type: Posts; User: sriram139

Page 1 of 2 1 2

Search: Search took 0.02 seconds.

  1. Dataview is a component that can display a list of data models:
    http://docs.sencha.com/ext-js/4-1/#!/api/Ext.view.View

    You must be having a dataview component inside your userlist view.
  2. See if this will be helpful:


    {
    text: 't',
    renderer : function(value, metaData, record, colIndex, store, view)
    {
    metaData.tdAttr = 'data-qtip="Hii"';
    ...
  3. That's very simple:
    useredit is an xtype of one of the views, i.e. mentioned as alias: 'widget.useredit'
    followed by any descendant components can be mentioned with their type/xtypes/itemIds etc......
  4. You can go to your EXTJS bundle, and access below html which will make it clear about all the parameters that control this:
    examples/grid/infinite-scroll-grid-tuner.html.

    Here is the link to...
  5. Replies
    4
    Views
    576
    The slowness is because of 'displayfield' type.
    If you try to change it to any input field, it will be faster. Try and see.
    This can be mainly due to the call to 'updateLayout()' in setRawValue()...
  6. I think this one will help you:
    http://docs.sencha.com/ext-js/4-1/#!/api/Ext-method-override
  7. You need to update span's metadata and set the attribute data-qtip to the new value.
    Some thing like this:


    metadata.attr = 'data-qtip="' + value + '"';


    Since I am not sure on which event...
  8. 1) Try: http://docs.sencha.com/ext-js/4-1/#!/api/Ext.panel.Panel-cfg-html
    2) From panel:
    http://docs.sencha.com/ext-js/4-1/#!/api/Ext.panel.Panel-method-isAncestor
    ...
  9. You may want to try using itemId instead of 'id'.

    Thanks,
    Sriram
  10. This might be helpful:
    http://docs.sencha.com/ext-js/4-1/#!/api/Ext.ux.grid.FiltersFeature-method-getFilterData

    Regards,
    sriram
  11. Replies
    3
    Views
    208
    I think getNode() is what you are looking for.
    http://docs.sencha.com/ext-js/4-1/#!/api/Ext.view.Table-method-getNode

    Try printing this HTLMElement and you can see complete row element that is...
  12. Replies
    2
    Views
    88
    1) Use: http://docs.sencha.com/ext-js/4-1/#!/api/Ext.grid.column.Column-cfg-tdCls
    2) Use: http://docs.sencha.com/ext-js/4-1/#!/api/Ext.selection.RowModel-cfg-mode
  13. Try setting the config 'ui' as blank, which will make sure that .x-nlg .x-toolbar-default doesnt get applied to your toolbar.


    Ext.define('MyToolbar', {
    extend : 'Ext.toolbar.Toolbar',
    ...
  14. Nested config is the issue here.
    If you try below code, it will work fine where config has value directly, without any sub fields in it.


    Ext.define('Test.view.NewGrid', {
    extend:...
  15. itemId: (Recommended) HTML element's ID is automatically generated to ensure uniqueness, usually by concatenating ID of the container hierarchy. Programmer only need to ensure ID is unique within...
  16. Replies
    2
    Views
    202
    You must have center panel, which is mandatory for any border layout.
    And also specify width for the 'west' region.

    Sample code working with your own example:


    var...
  17. This might help:
    http://docs.sencha.com/ext-js/4-1/#!/api/Ext.data.Field-cfg-serialize

    Thanks,
    Sriram
  18. Replies
    2
    Views
    158
    There are multiple ways one can indent their code, two of them that are commonly used styles are as below:

    1) Start the block on same line with open brace following the last character of that...
  19. One of the below approaches might help:

    1) Fire an event from the handler of save button, say this.fireEvent('saveform'); and control it in controller as below:

    'button[action=save]' :
    {...
  20. You might want to extend your column with this:

    http://skirtlesden.com/ux/component-column
  21. Refer below config which can do that:
    http://docs.sencha.com/ext-js/4-1/#!/api/Ext.data.Field-cfg-serialize
  22. Try setting padding and margin configs in the panels.
    Sample working code:


    Ext.onReady(function () {
    Ext.create('Ext.panel.Panel', {
    title: 'Table Layout',
    width: 300,
    ...
  23. You can try adding html text field to the column text as below:


    columns: [{
    text: 'Name <input type=text/>',
    dataIndex: 'name'
    }
  24. You need to access labelEl of the textfield and set the opacity on that element.
    Here is the sample working code:


    Ext.onReady(function () {
    var panel =Ext.create('Ext.form.Panel', {
    ...
  25. There are three things here:

    1) Typo in Store definition: HelloEx.store.myStore
    2) There is no models config in Store API. It must be model it accepts only one model.
    3) You must check the APIs...
Results 1 to 25 of 31
Page 1 of 2 1 2