Our blazing fast Grid component built with pure JavaScript


Post by Webethics »

In the grid, we would like to add a separate button under the combo box dropdown to open the pop-up or for some other click event. Can this be implemented, if yes, please provide guidance over it?

Attachments
add-edit-char.png
add-edit-char.png (27.49 KiB) Viewed 1044 times

Post by mats »

Not supported out of the box, but reasonably easy to implement. You will need to implement your own https://bryntum.com/docs/scheduler/#Core/widget/PickerField showing a Panel as the drop down widget, then you can use its https://bryntum.com/docs/scheduler/#Core/widget/Panel#config-bbar to show a button.


Post by Webethics »

We have checked and found that it is written in Typescript but Our project written in javascript. So how could we achieve the same using javascript?


Post by mats »

Our core classes are written in regular JS


Post by Webethics »

Okay, When I have tried to

import { PickerField } from 'bryntum-grid'; 

Then got the following error

"export 'PickerField' was not found in 'bryntum-grid'

Post by Maxim Gorkovsky »

Hello.
I can see PickerField being exported from the bundle and declared in package typings in version 4.2.0. Which Bryntum Grid version do you use?


Post by Webethics »

Hello
We have used the '4.0.8' Bryntum Grid version


Post by Animal »

If you need it to be a Combo, you should definitely extend Combo.

PickerField only gives the ability to show a dropdown. Combo give the combo functionality.


Post Reply