enterprise-wc icon indicating copy to clipboard operation
enterprise-wc copied to clipboard

IdsDataGrid: Add multi line text in the header

Open tmcconechy opened this issue 1 year ago • 1 comments

Describe the Feature Would like something like:

name: 'Description',
subtext: 'Test',

Which will show multiline text in the header Screenshot 2024-01-23 at 9 43 50 AM

Or as name: ['Description', 'Line Two'] maybe

Expected behavior Provide a way to show a grid column header with two lines

Additional context https://github.com/infor-design/enterprise-wc/issues/1761

tmcconechy avatar Jan 23 '24 14:01 tmcconechy

@tmcconechy For our use case, we need subtext to display the datatype of the column values. Example:

{ name: 'Name', subtext: 'Text' },
{ name: 'Orderdate', subtext: 'Date' },
{ name: 'Quantity', subtext: 'Numeric' }

ShwetaKhera avatar Jan 24 '24 18:01 ShwetaKhera