Hello,    
          I m trying to hide a box when I click inside datagrid but the onclick function works only when datagrid doesn't have any empty rows.    
          When is empty the box still appears.    
               
          I set my datagrid widget as below:    
          GridArray_ui DataGrid{layoutData = new GridLayoutData{row = 2, column = 1}, behaviors =[addEditors
                  ], headerBehaviors =[headerbehaviors], columns =[    
                              new DataGridColumn{name = "bla", displayName = "", width = 50, headerAlignment = 1,alignment = 1},
                            new DataGridColumn{name = "bla3", displayName = "", width = 50, headerAlignment = 1,alignment = 1},    
                                new DataGridColumn{name = "bla2", displayName = "", width = 50, headerAlignment = 1,alignment = 1},    
                      ], data = GridArray as any[], enableSorting = true, selectionMode = DataGridLib.SINGLE_SELECTION,
                  
                  pageSize = 10,  paddingBottom = 0, showCheckBoxes = false, showheader = true, selectionListeners = [selectedrow],onClick ::= hideonclick    
michaeldefox