ParamQuery grid support forum

General Category => Bug Report => Topic started by: tqmatheson on May 12, 2016, 10:08:56 pm

Title: Adding input field into grid toolbar
Post by: tqmatheson on May 12, 2016, 10:08:56 pm
Hello,

When a toolbar is added to the grid, and then an <input> type element is added as an item into the toolbar, then other <input> elements on the page are unexpectedly moved inside the toolbar when the grid is rendered.  This affects elements that are apparently apart and disconnected from the grid.

Attached is an file with simple HTML / JavaScript to demonstrate the issue.

Please note that is more than just a bug submission.  We have a user requirement to added elements into the toolbar.

Tim
Title: Re: Adding input field into grid toolbar
Post by: paramvir on May 12, 2016, 10:38:43 pm
It's incorrect use of API, there is no type: 'input' in the toolbar.

http://paramquery.com/pro/api#option-toolbar

Please replace 'input' with 'textbox' and you won't face the mentioned issue.