Comments (12)
It would be a great plugin. The style could be like the 'optgroup_columns' plugin. What do you think about it?
from selectize.js.
Agreed. The basic needs as I see it are:
- Override default "option" render function to build the child columns for you.
- Include the CSS to turn
.selectize-dropdown-contents
into a table layout.display: table; table-layout: fixed; ...
- Build a fixed table header utilizing "dropdown_header".
The plugin options could be something like...
"dropdown_table": {
columns: [
{title: "Product Name", field: "name"},
{title: "Quantity", field: "name", width: "40px"},
{title: "Price", field: "price", width: "40px"},
],
render: {
cell: function(field, data) {
// (optional) this function would allow people to control
// how the data within each cell is rendered
}
}
}
What do you guys think? @wmartins Is this something you'd want to tackle?
from selectize.js.
@brianreavis it seems good to me. What do you think about the search method? For example, if I have a table with 'phone' and 'brand', it would be nice to search using the brand (or maybe it can be configured to search by multiple fields).
from selectize.js.
I don't see any need for that, as this is already possible with the searchField
option:
searchField: ['phone', 'brand']
from selectize.js.
Oh, sorry, I forgot that!
Now it seems perfect to me!
from selectize.js.
@wmartins where is the plugin ?
from selectize.js.
I could not work on it yet @magixsource! :(
from selectize.js.
@wmartins : P Ok,i write a plugin for this , it's seen like below :
yo,It's a bit ugly,but it work well.
from selectize.js.
I'm interested in this plugin as well
from selectize.js.
I'm also interested "dropdown_table" plugin.
from selectize.js.
Hi guys,
This would be an awesome plugin. Is it available now?
from selectize.js.
closing stale issues older than one year.
If this issue was closed in error please message the maintainers.
All issues must include a proper title, description, and examples.
from selectize.js.
Related Issues (20)
- Searching with underscore doesn't work correctly HOT 1
- Incorrect role is being assigned to combo box; it is impacting accessibility of the control. HOT 2
- remove_button uses a hardcoded 2px border radius HOT 1
- Can't add items to a (multi) select after updating inputs (in order) HOT 1
- Couldn't find the way to use a custom plugin without adding it to the Selectize fork HOT 1
- remove_button plugin bug: append expects html_container to be a string HOT 1
- Documentation for `selectOnTab`'s default is out of date HOT 2
- Unable to load options when triggering load for the second time HOT 1
- Quotation marks in selected option value result in error when selecting another value HOT 2
- Cursor disappears after selecting option in select multiple when using CDN provided version HOT 6
- jQuery deprecation warning: .trim() HOT 1
- Wrong autocompleate type
- Add link to Selectize options list in API documentation of Selectize()
- selectize.destroy and 'blur' event on other selectized objectects
- Selectize with Laravel full text search not working HOT 1
- Hovered option is automatically selected on blur HOT 3
- Cannot be able to retrieve data attribute when selectize is rendering
- converting from boostrap-select: encountering several issues...
- Incorrect role is being assigned to combo box; it is impacting accessibility of the control. HOT 1
- Loosing focus on the field if addItems method is used
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from selectize.js.