ParamQuery grid support forum

General Category => Help for ParamQuery Pro => Topic started by: zhouqi on July 24, 2021, 04:09:29 pm

Title: How to trigger grid resize by manual?
Post by: zhouqi on July 24, 2021, 04:09:29 pm
Hello,

How to trigger grid resize by manual?

Use `refresh()` or `refreshDataAndView()` or `refreshView()` ?  `.resize()` method not found in api-methods.
Title: Re: How to trigger grid resize by manual?
Post by: paramvir on July 26, 2021, 08:41:24 am
grid can be resized by setting new height / width followed by refresh.

Code: [Select]
grid.option({width: 400, height: 500 });
grid.refresh();