Enterprise: Datagrid Active Cell Indicator is cropped for multiline on Edge and IE

Created on 19 Feb 2019  路  8Comments  路  Source: infor-design/enterprise

Describe the bug
Datagrid Active Cell Indicator is cropped on Edge and IE when one of the columns is multiline

To Reproduce
Steps to reproduce the behavior:

  1. Go to 'http://localhost:4000/components/datagrid/test-long-text.html'
  2. Set the cellNavigation = false settings of the datagrid.
    $('#datagrid').datagrid({ columns: columns, selectable: 'multiple', dataset: data, editable: true, cellNavigation: false });
  1. Click on the first row and see the active cell indicator/highlight:
    image

  2. This only occurs on Microsoft Edge and Internet Explorer. Not a major issue. Just wanted to know if this can be fixed or will be left as is. Thanks.

Platform

  • OS Version: Windows 10
  • Browser Name: Microsoft Edge/Internet Explorer
[3] datagrid pathway type

All 8 comments

The problem is that the height is automatic on those cells. Can think of three solutions.

  1. Add a rowHeight variable - will mean all rows set to a static height non dynamic
  2. Calculate the row height on render (by setting) and set the height to the height for every row. (Double render === slower)
  3. Add a rowHeight function - that will let you set row height in a calculated / dynamic function.

Thanks for the suggested solutions, will get back to you if we'll be able to apply these. Thank you.

Hi @tmcconechy tried these and this may not work for us since it will mean additional calculations for a minor issue. Looking at this example in Google Chrome, and it actually works fine in other browsers except ie/edge. Can this be fixed on your end, if it will be too much work then we can accept this since it rarely occurs on our app. Thank you for your response.

OK we'll see what i can come up with for a fix when we can.

Hi, @tmcconechy.

We just tested this issue on the newest version of Microsoft Edge and it renders properly:
image

image

For IE and older Edge versions, the issue still occurs:
image

I think this is a duplicate of another issue (which i cant seem to locate at the moment). I was working on this. But as far as i see i do not see this issue on IE 11 and Edge on the latest dev version.

https://master-enterprise.demo.design.infor.com/components/datagrid/test-long-text.html

Screen Shot 2020-05-14 at 9 23 48 AM

I think i have fixed this. BTW we probably wouldnt fix it for IE11 going forward as its somewhat minor

OK i see i missed a step about disabling cell navigation. So yes still in issue, although i partly fixed this without cell navigation setting changed... We do have it scheduled for next sprint. So will take a look then

Was this page helpful?
0 / 5 - 0 ratings