Author Topic: Adding input field into grid toolbar  (Read 3387 times)

tqmatheson

  • Pro Enterprise
  • Newbie
  • *
  • Posts: 4
    • View Profile
Adding input field into grid toolbar
« 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

paramvir

  • Administrator
  • Hero Member
  • *****
  • Posts: 6263
    • View Profile
Re: Adding input field into grid toolbar
« Reply #1 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.