Author Topic: i want no scroll placeholder when autofit columns  (Read 1522 times)

lian.jing

  • Pro Deluxe
  • Newbie
  • *
  • Posts: 2
    • View Profile
i want no scroll placeholder when autofit columns
« on: March 09, 2020, 08:39:35 am »
 when i set
{
    width: '100%',
   scrollModel: {autoFit: true }
}

the right of the grid has a placeholder for vertical scroll,  when i set heith='flex', it disappear, but the grid height,i must set to ‘100%’, i can't set it to ‘flex’,
« Last Edit: March 09, 2020, 09:02:50 am by lian.jing »

paramvir

  • Administrator
  • Hero Member
  • *****
  • Posts: 6310
    • View Profile
Re: i want no scroll placeholder when autofit columns
« Reply #1 on: March 09, 2020, 09:10:10 am »
scrollModel: {autoFit: true } is used to remove horizontal scrollbar only.

height: 'flex' is used to remove vertical scrollbar.