EGL Development User Group

EGL Development User Group

EGL Development User Group

The EGL Development User Group is dedicated to sharing news, knowledge, and insights regarding the EGL language and Business Developer product. Consisting of IBMers, HCL, and users, this community collaborates to advance the EGL ecosystem.

 View Only
Expand all | Collapse all

onclick event datagrid wih empty rows

  • 1.  onclick event datagrid wih empty rows

    Posted Wed July 13, 2016 05:53 AM

    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


  • 2.  Re: onclick event datagrid wih empty rows

    Posted Fri July 15, 2016 03:26 AM

    Hi,

    I think that's a bug .

    You have to open a Service Request.

    Marcel-D