Search Type: Posts; User: Spring

Page 1 of 2 1 2

Search: Search took 0.02 seconds.

  1. Replies
    6
    Views
    4,349
    Please try to add the following code at the end of the method renderScrollingToolbar:



    if (Ext.isIE) {
    Ext.fly("center" + tbId).setStyle("position", "relative");
    }
  2. Replies
    6
    Views
    4,349
    I have tested this code only with Ext Js 2.1 - 2.3
  3. Replies
    1
    Views
    1,002
    You can use smth like this:





    var resultTpl = new Ext.XTemplate(
    '<tpl for="."><div class="x-combo-list-item">',
    '<span>',
    '<tpl if="queryDate != \'\'"><b>Query Date:</b>{queryDate},...
  4. You can try to override tooltip CSS class in your Html/JSP page:



    <style type="text/css">
    .x-tip {
    position:absolute;top:0;left:0;visibility:hidden;z-index:82000 !important;border:0 none;...
  5. Replies
    1
    Views
    855
    Something like this (add loadMask to the element of myCmp):



    var myLoadMask = new Ext.LoadMask(myCmp.getEl(), {
    msg: 'My Load Mask'
    });
    ...
  6. Replies
    1
    Views
    1,481
    You can try on Ext 2.x:



    var scrollState = mygrid.getView().getScrollState();
    ....
    mygrid.getView().restoreScroll(scrollState);


    But if the records are added\removed, then...
  7. Replies
    7
    Views
    11,232
    Also attached is an updated version of Collapsible Horizontal Plugin. May be this can be useful
  8. Replies
    7
    Views
    11,232
    You can try to apply border layout with west region:
    http://www.extjs.com/deploy/dev/examples/layout/complex.html

    Or try to create a panel the way like the collapsible element with errors here:...
  9. Replies
    3
    Views
    2,465
    I'm using Ext JS 2.1 and it seems that grid event "headerdblclick" doesn't work properly.
    You can try the following code:



    myGrid.on("render", function(grid) {
    ...
  10. Replies
    3
    Views
    1,347
    You can try smth like this:



    getRowClass: function(record, rowIndex, rp) {
    rp.tstyle = "background-color: " + record.get("bgcolor") + "; color: " +...
  11. Replies
    3
    Views
    2,465
    I'm using Ext JS 2.1 and it seems that grid event "headerdblclick" doesn't work properly.

    You can try the following code (it works for me in both Firefox and Internet Explorer):



    ...
  12. Replies
    7
    Views
    11,232
    You can try to use this plugin for Ext.Panel, but this is a very raw version.
    It seems to support browsers FF 3.5 and IE 7. (ExtJS version 2.1)

    Usage:


    {
    ... ...
  13. Do you mean smth like this?



    success: function(response) {
    if (response.responseText && response.responseText.length > 0 && response.responseText.indexOf('success') >...
  14. Try to add to the grid config the following code to set the selection model of the grid:



    sm: checkBoxColumn,
    ...
  15. Replies
    5
    Views
    1,564
    You can use for the radio buttons the following code:



    {
    xtype: 'radio',
    fieldLabel: 'Select a Category',
    itemCls: 'removePaddingAndMarginBottom',
    ...
  16. From API Docs:



    activate : ( Ext.Panel p )

    Fires after the Panel has been visually activated. Note that Panels do not directly support being activated, but some Panel subclasses do (like...
  17. I can't find anything with word "added" in ext-all-debug.js (version 2.1). Am I doing smth wrong? Or is the version tool old?
  18. Replies
    7
    Views
    4,864
    Description: This is a header button for RowExpander that collapse/expand all rows.
    May be, this code will be useful to someone. I haven't find it in forum yet.

    Browsers Support: Firefox 3.5 and...
  19. Replies
    5
    Views
    1,564
    You can use the following:



    var page1form = new Ext.FormPanel({
    url: '/testext.jsp',
    renderTo: document.body,
    frame: true,
    title: 'Page 1 Form',
    width: 275,
  20. Replies
    5
    Views
    1,564
    Try the following:



    var page1form = new Ext.FormPanel({
    url: '/testext.jsp',
    renderTo: document.body,
    frame: true,
    title: 'Page 1 Form',
    width: 275,
  21. Do you mean this functionality?

    http://www.extjs.com/deploy/dev/examples/grid-filtering/grid-filter-local.html
  22. Where is the event "added" fired?

    If you want to call some function after initComponent is completed, you can use:



    initComponent: function() {
    ...
    ...
  23. Replies
    6
    Views
    3,625
    Have you tried to set the height of grid's container in percents?
  24. You can define the row index from store. In this case it will look like:




    p.getSelectionModel().deselectRow(p.getStore().indexOf(item));
  25. Replies
    6
    Views
    3,625
    Do you mean "browser window resize" or "Ext.Window resize"?

    For first:



    new Ext.Viewport({
    layout: 'anchor',
    frame: true,
    items: [{
Results 1 to 25 of 41
Page 1 of 2 1 2