6pac / SlickGrid

A lightning fast JavaScript grid/spreadsheet
https://stackblitz.com/github/6pac/SlickGrid/tree/master/vite-demo
MIT License
1.84k stars 423 forks source link

Can example have select/dropdown sample #1062

Closed ericxin1982 closed 1 month ago

ericxin1982 commented 1 month ago

Clear and concise description of the problem

I am very new to SlickGrid, and I see all examples, that is awesome. I am curious how it looks like select/dropdown feature for grid active inline edit but is not there. Would you please add that specific example there, so I can learn.

Suggested solution

It is not a feature request, it is example request, sorry to confuse you guys.

Alternative

No response

Additional context

No response

Validations

6pac commented 1 month ago

Have a look under Bootstrap, Dynamic Grids and Third Party component editors

-> Select2 javascript drop-down editor

ericxin1982 commented 1 month ago

Excellent, Thanks for your help.

ericxin1982 commented 1 month ago

@6pac

Can you give me an example with simple select, select2 use jquery, for less library consideration, I look for independent library better.

6pac commented 1 month ago

There is no example for that, but Select2 uses a regular HTML select as a base. It should be easy to remove jQuery and the Select2 parts.

ericxin1982 commented 1 month ago

OK, I see. I would try a bit.

ghiscoding commented 1 month ago

It would be better to ask these kind of questions on Stack Overflow and if you search on the website, you'll find this SO that might be what you need to get started. You can also read the Writing-custom-cell-editors Wiki

SlickGrid select editor

If you want an all-assembled project, you can take a look at Slickgrid-Universal which has built-in single/multiple select.

ericxin1982 commented 1 month ago

Sure, thanks.