-
Notifications
You must be signed in to change notification settings - Fork 782
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Milestone to v3.0.0 #497
Comments
Hi Allen, I've been using this project very heavily for some work I've done recently. Would like to contribute soon but since I've been full time on my project I've unfortunately not had time. Something I did start to work on but haven't had time to implement is the ability to copy one/multiple rows (depending on whether you've used checkbox/radio for select). The other is an import from CSV function. I've just added custom buttons for this myself but would be useful to have as part of the table. (Sorry in advance if these have been mentioned before). Some other thoughts that come to mind are: custom rendered cells available in add dialog, modal dialog being popped up for cell edit, mass paste to edit many cells at once. Thanks for all your hard work on this - it's a great project! |
@lbargery, I'm glad to hear your feedback.
it's a cool feature!
It's also a awesome feature, someone who has asked this feature but I just reject lol. but it's welcome to make a PR.
that's why I want to bump to |
Possible to add #220 to it? Not sure what to call it maybe nested sorting? Multiple sorting? Anyway just a suggestion love what you have done so far just started using this in a project and it saved me a ton of time. Keep up the good work. |
HI @Amertz08, for #220, I've no any plan to do it, I want to keep the sort simple and the sorting behavior in most table component does not support the |
Hello @AllenFang . |
Possible to add a view all to the pagination? EDIT: realized there is an easy workaround for this. |
@Amertz08, it's a much custom functionality for users. Maybe I will try to implement it. :)
so what's that? |
Hi, My suggestions:
Also, I did not found any "developper" page which explain how to contribute, package, ... It may be obvious for javascript developpers, but I'm not and I need some time to understand. Tell us when you'll make the branch so we can contibute. |
@AllenFang I need the ability to provide custom cell editors ( see #162) I'm going to start on a PR. Will model it after how the custom column filter components are implemented. Will ask for feedback on the interface before I get too far. |
class Parent extends React.Component {
constructor(props) {
super(props);
this.state = {
pagination: true
};
}
_togglePagination() {
this.setState({ pagination: !this.state.pagination });
}
render() {
return (
<div>
<button onClick={ ::this._togglePagination } >Toggle</button>
<BootstrapTable
pagination={this.state.pagination}>
</BootstrapTable>
</div>
)
}
} @AllenFang hacky but it worked. |
@mbaroukh, I'll thinks about your suggestion, and will open a branch for |
hey thanks for the next versions. If we can have resizable columns , that will be great.. |
@ssjogus, your suggestion is very well, I will consider it :) Thanks you. But it really need some time ;( |
Following is the proposal for showing how to do custom component: function generateDeleteBtn(delBtnClick) {
return (
<button onClick={ delBtnClick }>MyDeleteBtn</button>
);
}
render() {
return(
<BootstrapTable insertRow deleteRow={ generateDeleteBtn }>
//...
</BootstrapTable>
);
} However, if you need to customize the whole ToolBar, e.g., add you component, change the layout. You can do it like following: function generateInsertBtn(onClick) {
return (
<button>MyInsertBtn</button>
);
}
function generateSearchField(onKeyUp) {
return (
<input type='text' />
);
}
<BSTableToolBar style={ { ... } } className={ ... }>
<InsertBtn component={ generateInsertBtn }/>
<div style={ { ... } }>
<Search component={ generateSearchField }/>
</div>
</BSTableToolBar>
<BootstrapTable toolBar insertRow deleteRow>
</BootstrapTable> You need to enable Hope it all works and feel free to discuss for this proposal. |
v3.0.0 alpha todo list
I know there're some features I miss, but I thinks make the The branch I've created |
Hi @AllenFang , How about add new button(for example Save All)? Thanks, |
Re:sorting.. Awesome. Exactly what I need hehe.. Makes you wonder what other "missing" functionality is already there |
I'll work hard for it :)
check this |
@AllenFang This is a great library. The project we are working on use it heavily for all the tables. However, we noticed the column is not sizeable. If it is too hard to implement, then what would be the work-around to handle long text in table cell? Word wrapping? Please let me know. |
@shadeven, thanks your feedback, for the long text problem, #497 (comment) is a little feedback, actually, I only make cell ellipsis if text overflow, maybe I can give a try for word wrap, but I remember that I've tried it but got some trouble with unalign column issues. Anyway, I'll have a experiment again because I've fixed couple unalign bug and maybe word wrap is work now ?! |
@AllenFang thanks for the prompt reply. I am looking forward to hear from your experiment. |
I change this line to I also try to configure a narrow width and resize window, it work fine also.(Lucky without any unalign issue happen) If this result is match your expectation, I can forward to support this feature, but for a compatibility design, I'll make this configurable and preserve |
@AllenFang This is exactly what we need! Thanks for your hard work! When can we expect this feature released? |
I think I can support this feature in next or next two version if without any trouble on implementation :) |
@AllenFang Please let me know when it is released. |
Hello @AllenFang, thanks for all this! When is the release of the v3 planned? Is there gonna be a lot of changes between beta-10 and the final release 3.0.0 ? I think it's close to be released so it should be okay to jump on beta-10 right now? |
@Vadorequest, I'll release it as soon as possible, I'm going to implement the keyboard navigation and integrate the cell editing with tab. |
v3.0.0 release, I know there still are a lots of thing I need to improve or fix, in near future, I'll pretty busy on my job.. but I'll keep to support this project when I back from my job. Any feedbacks or bug report is welcome, thanks. |
@AllenFang thanks for you work on react-bootstrap-table! I'm having issues with the modal in my local environment vs when deployed. When I click on the 'new' button when deployed to heroku nothing happens... There are no errors in the react dev tools. I'm using version 3.0.0 and have imported the css. When running the code on localhost everything works as expected - modal pops up when clicked. Any direction is greatly appreciated. Thanks in advance for your help. |
Hi @AllenFang - We've start to use your amazing project and use currently 2.11. Is there a description of all additions of version 3? Do you recommend to stay on 2.11 until you officially release 3 or do you think beta 11 is stable enough ? |
@StephReaves, could you please help me to confirm if you use the @philjoseph, I'm going to a travel and I'll update official note for Thanks |
HI AllenFang, You have released v3.0.0, but examples are still pointing to jquery and bootstrap. Can you please update the examples also? Like index.html still refers to jquery and bootstrap. |
@AllenFang thanks for following up. Was able to get 3.0.0 working by changing some configurations in webpack. Thanks again! Just getting going with React and react-bootstrap-table and I have another question on customizing the modal through insert Row. Basically, I don't want all of the columns to be displayed in the modal. For instance in your basic example, I only will display Product Price as an input options, but not Product Name or Product Id. Would I go about doing this by addressing the insertRow {true} settings? Apologies, but I couldn't find anything related in the docs or in a google search. One other question, is there a faq or slack channel for react-bootstrap-table where I should be directing my questions? |
Sorry for lately reply due to my long trip ;) @KalpanaPagariya, thanks for remind, I forgot it. @StephReaves |
@AllenFang I know you've mentioned #220 before and you talked about nesting sorts, this isn't really the main issue as far as I can see. It seems to be a simple "third" state to the sorting, which is "none". In fact this is precisely what the table does currently if you have no default sort and haven't as-yet selected to sort by anything... It's just that after selecting one, you can't get "back" to the un-sorted state. |
@AllenFang thanks your hard working bro! I tried like this:
but only Thanks again. |
@XidongHuang, is this ? |
@AllenFang Yes sir, that is what I want, thank you so much! |
@XidongHuang You can give a try but I didn't try it before. |
Hi @AllenFang! First and foremost is huge thanks for your library! We're using this library for some quite of time for all of our projects and it works perfectly! Just want to ask, is there any feature to export one or more CSV with one table? For instance the default exportCSV button is exporting the data that is display on the table but the other is exporting other data. I was trying to override the options by creating a button group just like this
However I was expecting that the data inside the handleExportCSVParts function will be exported, data type is array. Is there such this kind of feature export multiple CSV with one table? Huge thanks! |
@christianbalderrama currently, we only can export the data from table. if you want to export some data, you can try to write yourself code for exporting csv, you can use thanks |
As I make remote={true}, filters on each column stopped working |
How can I work with filter in remote pagination |
v3.0.0
I'm going to start a plan for
react-bootstrap-table@3.0.0
, so I wonder if any ideas forv3.0.0
, you can tell me in this threads. Anyway, I've considered some issues must be solve inv3.0.0
(may not, it depend):There're the relative issues:
How to make 'search input' float left? #492, When you override the text of the Export CSV button it doesn't override the icon #469, Made glyphicons for toolbar buttons overridable #476, Expose 'Add' and 'Delete' button through refs. #356, can not support customize button #251, Custom table footer #172, Hide pagination size selector dropdown #487, How to hide pagination when there is only one page? #484, paginationShowsTotal custom text #462, Control position of components (pagination, export button, ...) #456, New and Delete button custom text #426 etc.
bootstrap.js
Feel free to give any suggestion or feedback. BTW, if u r interesting for contributing this repo, it's welcome
alpha todo list
Thanks
@AllenFang
The text was updated successfully, but these errors were encountered: