DataListsolved in newer versions.
DataGridListwith a custom delegate to create fluid grids of items. My custom delegate extends the
VerticalGridDelegateto calculate column count and column width for a grid based on configurable min and max width of the grid's tiles. This means that depending on the size of the browser window, grid tiles can be larger or smaller.
VerticalGridDelegate.layoutmethod by applying some styles. If the delegate is laying out the grid in reponse to a resize event, the tile will reflow some time after the width of the tile has been updated. However, during the initial rendering, the tile is reflowed before the
VerticalGridDelegate.layoutmethod calculates it's size. After the new size is applied using some css, the tile does not reflow. For kinds that require a reflow to properly respond to their new dimensions, this is a bad thing as their internal layout won't be updated.
resizingflag on the delegate at the beginning of the
VerticalGridDelegate.didResizemethod and set the flag back to false after the list has refreshed. This way, I can trigger a reflow on the tile if needed.
It looks like you're new here. If you want to get involved, click one of these buttons!