Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    Test case for mysterious setTabIndex warning in ListGrid

    I see old forum posts with the same or similar warnings. Hopefully this will resolve the problems for those people too. I'm using "v9.1p_2015-02-07/Pro Deployment". Warnings appear in Chrome 40 and Firefox 35.


    Moving (i.e. hovering) mouse back and forth between the two field headers generates a stream of warnings (the warnings all appear identical).


    If it helps, I noticed the warning stops appearing if I remove the VLayout layer.


    Code:
    12:48:22.262:TMR7:WARN:Toolbar:isc_Toolbar_0:setTabIndex(): Passed index of 1204. This method does not support setting a tab index greater than 999.  Setting tab index for this widget to 999
        Canvas.setTabIndex(_1=>1204)
        ListGrid.updateMemberTabIndex(_1=>[Toolbar ID:isc_Toolbar_0])
        Canvas.addChild(_1=>[HeaderMenuButton ID:isc_ListGrid_0_headerMenuButton], _2=>undef, _3=>undef)
        Canvas.addPeer(_1=>[HeaderMenuButton ID:isc_ListGrid_0_headerMenuButton], _2=>undef, _3=>undef, _4=>undef)
        ListGrid.$129n(_1=>[Button ID:isc_Button_0])
        [o]Button.handleMouseOver(_12=>Obj, undef)
        [c]EventHandler.bubbleEvent(_1=>[Button ID:isc_Button_0], _2=>"mouseOver", _3=>undef, _4=>undef)
        [c]EventHandler.handleEvent(_1=>[Button ID:isc_Button_0], _2=>"mouseOver", _3=>undef)
        [c]EventHandler.$kz(_1=>null, _2=>Obj)
        [c]EventHandler.$kx(_1=>null, _2=>Obj)
        [c]EventHandler.$kv(_1=>1424206102254)
        [c]Class.fireCallback(_1=>Obj, _2=>null, _3=>null, _4=>null, _5=>true)
        [c]Timer.$in(_1=>"$ir226", _2=>228, _3=>undef)
        anonymous()
            "isc.Timer.$in(_5,_6)"
    Here's my test case:
    Code:
    isc.ClassFactory.defineClass("LGItem", "CanvasItem");
    isc.LGItem.addProperties({
       createCanvas: function() {
          return isc.VLayout.create({
             members:[
                isc.ListGrid.create({
                   dataSource: isc.DataSource.create({
                      clientOnly:true,
                      fields:[{name: "id"},
                              {name: "rid"}]
                   }),
                   fields: [{name:"id"},{name:"rid"}],
                })
             ]
          });
       },
    });
    
    var df = isc.DynamicForm.create({
       width:600,
       height:400,
       autoDraw:true,
       numCols:1,
       colWidths:["*"],
       fields:[{name:"cgbf",showTitle:false,
                editorType:"LGItem"}]
    });

    #2
    Thanks for reporting this. The warning you were seeing should be gone in nightly builds dated 2/24/2015 or later.

    Comment

    Working...
    X