infor-design / enterprise-wc

Enterprise-grade web component library for the Infor Design System
Apache License 2.0
27 stars 22 forks source link

Splitter: Scrollbar for datagrid #2439

Open silarapusandhya opened 3 weeks ago

silarapusandhya commented 3 weeks ago

Problem: Here we are getting scrollbar for splitter pane but expecting for data grid.

Description: As per our requirement we are using horizontal splitter. top pane contains datagrid. if we expand or collapse the splitter the datagrid size has to adjust. but here I can see top splitter pane getting scroll bar. Expected datagrid should has the scrollbar. any suggestions ??
https://stackblitz.com/edit/stackblitz-starters-dfsydl?file=src%2Fapp%2Fexample%2Fexample.component.html,src%2Fapp%2Fexample%2Fexample.component.ts,src%2Fapp%2Fexample%2Faccounts.ts,src%2Fapp%2Fexample%2Ftreedata.ts,src%2Fapp%2Fexample%2Fexample.component.css

tmcconechy commented 3 weeks ago

@silarapusandhya For issues we need: a) steps to reproduce b) an example to run. How can we reproduce this to address? Note also the link doesnt work.

silarapusandhya commented 2 weeks ago

Link: https://stackblitz.com/edit/stackblitz-starters-dfsydl?file=src%2Fapp%2Fexample%2Fexample.component.html

image (3)

Requirement: I have horizontal splitter, in top splitter pane having datagrid, while expanding splitter expecting scrollbar to datagrid, but getting for top splitter pane.

Steps to reproduce: 1)Create a simple HTML page with a horizontal splitter. 2) Place a DataGrid inside the top pane of the splitter. 3) Expand or collapse the splitter to observe where the scrollbar appears. (expecting scrollbar inside the datagrid).