Announcement

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

    Editable ListGrid hides rows with showRecordComponents: true

    Hi there,
    We are using in some grid record components and ahve to set "showRecordComponents: true". Now we are seeing a bug if the user is woring in fullscreen-mode.

    I was able to reproduce this with a maximized chrome window with a taskbar of 1 line. My display-resolution is 1920x1200.
    This happens:


    After doubleclicking to edit the item and using the arrow-down key all rows below that edited row gets hidden.
    I cannot determine the detail source of this bug, but it appeared if there is a selection event, a prompt which is displayed, calling saveAllEdits() and showRecordComponents on true.
    Sorry that i don't have more informations about it. Because of the need of a maximized browser there may be a connection to the other thread.

    This was reproducable against the latest nightly SmartClient_v100p_2015-07-08_Pro with the latest Version of Chrome.

    This is the code for reproduction:
    Code:
    isc.Window.create({
    	"ID" : "window_309",
    	"width" : 1152,
    	"height" : "70%",
    	"autoDraw" : true,
    	"hideUsingDisplayNone" : false,
    	"leaveScrollbarGap" : false,
    	"title" : "",
    	"autoCenter" : true,
    	"isModal" : true,
    	"items" :
    	[isc.VLayout.create({
    			"ID" : "id",
    			"width" : "100%",
    			"height" : "100%",
    			"hideUsingDisplayNone" : false,
    			"leaveScrollbarGap" : false,
    			"members" :
    				isc.ListGrid.create({
    					"ID" : "theListGrid",
    					"selectionUpdated" : function (p1, p2) {
    						isc.showPrompt("..");
    						setTimeout(function(){theListGrid.saveAllEdits();isc.clearPrompt()}, 100)
    					},
    					"width" : "100%",
    					"height" : "100%",
    					"hideUsingDisplayNone" : false,
    					"leaveScrollbarGap" : true,
    					"canEdit" : true,
    					"editEvent" : "doubleClick",
    					"autoSaveEdits" : false,
    					"sortField" : "nameField",
    					"sortDirection" : "ascending",
    					"selectionProperty" : "isSelected",
    					"showRecordComponents" : true,
    					"canGroupBy" : false,					
    	"fields" :
    	[{
    			"name" : "accountNumbertField",
    			"title" : "number",
    			"type" : "text",
    			"width" : "200",
    			"canEdit" : true,
    			"showHover" : true,
    			"editorProperties" : {
    				"ID" : "accountNumbertField_309Editor"
    			}
    		}
    	],
    	"members" :
    	[],
    	"data" :
    	[{
    			"accountNumbertField" : "A",
    		}, {
    			"accountNumbertField" : "B",
    		}, {
    			"accountNumbertField" : "C",
    		}, {
    			"accountNumbertField" : "D",
    		}, {
    			"accountNumbertField" : "E",
    		}, {
    			"accountNumbertField" : "F",
    		}, {
    			"accountNumbertField" : "G",
    		}, {
    			"accountNumbertField" : "H",
    		}, {
    			"accountNumbertField" : "I",
    		}, {
    			"accountNumbertField" : "J",
    		}, {
    			"accountNumbertField" : "K",
    		}, {
    			"accountNumbertField" : "L",
    		}, {
    			"accountNumbertField" : "M",
    		}, {
    			"accountNumbertField" : "N",
    		}, {
    			"accountNumbertField" : "O",
    		}, {
    			"accountNumbertField" : "P",
    		}, {
    			"accountNumbertField" : "Q",
    		}, {
    			"accountNumbertField" : "R",
    		}, {
    			"accountNumbertField" : "S",
    		}, {
    			"accountNumbertField" : "T",
    		}, {
    			"accountNumbertField" : "U",
    		}, {
    			"accountNumbertField" : "V",
    		}, {
    			"accountNumbertField" : "X",
    		}, {
    			"accountNumbertField" : "Y",
    		}, {
    			"accountNumbertField" : "Z",
    		}, {
    			"accountNumbertField" : "AA",
    		}, {
    			"accountNumbertField" : "BB",
    		}, {
    			"accountNumbertField" : "CC",
    		}, {
    			"accountNumbertField" : "DD",
    		}, {
    			"accountNumbertField" : "EE",
    		}, {
    			"accountNumbertField" : "FF",
    		}, {
    			"accountNumbertField" : "GG",
    		}, {
    			"accountNumbertField" : "HH",
    		}, {
    			"accountNumbertField" : "II",
    		}, {
    			"accountNumbertField" : "JJ",
    		}, {
    			"accountNumbertField" : "KK",
    		}, {
    			"accountNumbertField" : "LL",
    		}, {
    			"accountNumbertField" : "MM",
    		}, {
    			"accountNumbertField" : "NN",
    		}, {
    			"accountNumbertField" : "OO",
    		}, {
    			"accountNumbertField" : "PP",
    		}, {
    			"accountNumbertField" : "QQ",
    		}, {
    			"accountNumbertField" : "RR",
    		}, {
    			"accountNumbertField" : "SS",
    		}, {
    			"accountNumbertField" : "TT",
    		}, {
    			"accountNumbertField" : "UU",
    		}, {
    			"accountNumbertField" : "VV",
    		}, {
    			"accountNumbertField" : "WW",
    		}, {
    			"accountNumbertField" : "YY",
    		}, {
    			"accountNumbertField" : "ZZ",
    		}, {
    			"accountNumbertField" : "AAA",
    		}, {
    			"accountNumbertField" : "BBB",
    		}, {
    			"accountNumbertField" : "CCC",
    		}, {
    			"accountNumbertField" : "DDD",
    		}, {
    			"accountNumbertField" : "EEE",
    		}, {
    			"accountNumbertField" : "FFF",
    		}, {
    			"accountNumbertField" : "GGG",
    		}, {
    			"accountNumbertField" : "HHH",
    		}, {
    			"accountNumbertField" : "III",
    		}, {
    			"accountNumbertField" : "JJJ",
    		}, {
    			"accountNumbertField" : "KKK",
    		}, {
    			"accountNumbertField" : "LLL",
    		}, {
    			"accountNumbertField" : "MMM",
    		}, {
    			"accountNumbertField" : "NNN",
    		}, {
    			"accountNumbertField" : "OOO",
    		}, {
    			"accountNumbertField" : "PPP",
    		}, {
    			"accountNumbertField" : "QQQ",
    		}, {
    			"accountNumbertField" : "RRR",
    		}
    	]
    })})]
    })
    Best regards
    Last edited by SimonF; 10 Jul 2015, 08:32.

    #2
    We are able to reproduce the problem and are investigating. The fix for this may address your other issue, but we won't be able to tell for certain since it wasn't reproducible for us.

    Comment


      #3
      This should be fixed in the nightlies available today (07-17-2015). We believe the related TreeGrid issue should also be resolved.

      Comment


        #4
        thanks, it now works correctly. tested against the latest nightly SmartClient_v100p_2015-08-14_Pro.

        Comment

        Working...
        X