Release 13.16 Grid cells are containers now

Welcome to Wisej Support.
Questions, suggestions and plain old bugs - are all welcome here!
0
0

Release notes for 1.3.16 say: Grid cells are containers now

What does that mean and what can be done with that feature

  • You must to post comments
0
0

It simply means that the rendering of the link, image, button cells has changed and instead of styling the cell’s main div, they are now rendered inside and the main div of the cell is used as a container.

The main difference between the datagrid and all the other widgets is that the content of the grid is rendered as html, in other words, the cells are not widgets. Each cell is a div in a row div, etc. They are removed when scrolled out and appended when scrolled in. The content is rendered (html is re-created) each time a row scrolls in from the data source. That’s how the grid is able to handle unlimited rows.

Getting back to your question. The feature that was added and you can use is the Role property added to all grid cell events. If you add a custom html to a cell like <span role=’my-element’>Hello</span> when you click in the cell on that element, the Role property if the event will have “my-element”.

For us, this was a necessary change for the PropertyGrid, expandable rows with panels,¬†collapsible rows which child rows since it’s a lot easier now to detect pointer events on elements inside a cell.

HTH

Best,

Luca

  • You must to post comments
Showing 1 result
Your Answer
Post as a guest by filling out the fields below or if you already have an account.
Name*
E-mail*
Attachment
File Name Size
There are currently no files uploaded.
Maximum number of files 1, maximum file size 3.9MB.
Supported file formats: zip pdf gif jpg bmp png cs vb theme json