Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
    Jordan
    @jpollard-cs
    @AllenFang is this something I should open an issue for?
    v1pothapu
    @v1pothapu
    @AllenFang : How to get the selected rows data on a custom button click?
    Anton O.
    @mavarazy
    Hey, I have a Huston :smile:
    I have a table, to which I need to add an empty row on a button click.
    After adding row I need to focus on the first column of the freshly added row,
    How can I do this, without doing to much of black magic?
    Anton O.
    @mavarazy
    The black magic, I've used is following
     componentWillReceiveProps(nextProps) {
         let { uiSchema: { table: { focusOnAdd } } } = nextProps;
         this.adding = focusOnAdd && nextProps.formData && this.props.formData &&      nextProps.formData.length > this.props.formData.length
       }
    
       componentDidUpdate() {
         if (this.adding) {
           let { table: { refs: { body } } } = this.refs;
           body.handleEditCell(this.props.formData.length, 1);
         }
       }
    André
    @andrecp

    Hi folks,

    I am trying to do something weird which probably isn't good :P

    My data has a field called "name" I have a column for it and all works great.
    Now I have another column, let's call last name, which is basically the last part of the name.

    I have datafield=Name in this other column and a columnformatter and life is good. I can display just the last name.

    Now comes the part that isn't working. I want to be able to search in the last name.

    However because datafield=Name, anytime I change my search in the last name column it's actually changing the filter called "name". Which makes sense but it isn't what I want.

    Any tips?

    André
    @andrecp
    but it wasn't pushed
    André
    @andrecp
    I believe I will simply change the data in JS before hitting the table or in the backend.
    I read a little bit about the extraFormatField hack or something like that but couldn't grasp it completely.
    André
    @andrecp
    Also, has anyone done resizable columns?
    Brian Bleakley
    @bleakley
    Does anyone know how to change the timezone for the column date filter?
    The filter date differs from the display date (which uses local time) so it is very confusing.
    André
    @andrecp
    tried react-resizable
    and jquery-ui
    no juice in making those columns resizable
    or I am doing something very wrong :{
    André
    @andrecp
    This message was deleted
    Slind14
    @Slind14
    Is the exportCSV feature broken in 4.3? The porps are not defined as soon as I add it.
    Ganesh Arulanantham
    @ganesharulanantham
    @AllenFang or others. What was the biggest motivation to rewrite this component in react-bootstrap-table2. I am confused which one to choose right now to start? Since no enhancement will be done, will react-bootstrap-table support migration ? or backward compatibiliy?
    Eyal Appelberg
    @eyalap
    @AllenFang What is the purpose of the colgroups? It seems that when I remove them the table is responsive and the columns don't disappear in width like they do when colgroups are there
    Bill Martin
    @justbill2020
    @AllenFang I would like to help out with react-bootstrap-table/react-bootstrap-table2 specifically adding an import button and i'm not sure where to start
    SatishKumarG
    @SatishKumarG
    Is resizable columns feature developed?
    Pablo Morales B
    @pablomorales92_twitter
    Hello @AllenFang I need create a input custom search but in other section, I need that seach were independent. How i do it?
    Nanane
    @Nananob_twitter
    Hello there, I've got an issue : I don't know why the table is showing an empty last 8th column.
    My "columns" props array only has 7 elements. Has anyone ever experienced this ?
    vikash-gupta
    @vikash-gupta
    Hi. I've a react component class, EditTable to show an editable table(using BootstrapTable) and save button. In the cellEditProp for BootstrapTable , I pass in this.cellEditProp. Inside cellEditProp, which is a function inside EditTable , I set afterSaveCell: this.afterSaveCell. In the method, afterSaveCell, I want to access the state of EditTable React Component, so that I can enable the save button. However when I try to access 'this', it is undefined. Could any one tell how to get the 'this' object inside afterSaveCell?
    vikash-gupta
    @vikash-gupta
    I found the answer to my question.. It turns out that you need to bind event with this. Code - afterSaveCell: this.afterSaveCell.bind(this),
    Sangkyu
    @1-lab
    @AllenFang or others. is it possible to add a column width resizing control on read-bootstrap-table?
    Tony Hudson
    @ngohungphuc
    Hi guys can someone help me out I still cant find root cause
    react-bootstrap-table/react-bootstrap-table2#297
    crazyUI
    @crazyUI
    Hi, I have a custom header component which has two span in it mainly to apply specific style to parts of the header text. When I apply filter on this column, the column disappears.. Any idea how to fix this?
    swethapraneet
    @swethapaneet
    Hi can any one help me if react-bootstrap-table code will support the react 16 vresion
    prabhat9999
    @prabhat9999
    Hey guys i need sme help, its quite urgent :-(
    M trying to access table data through this.refs.table.state.data
    It is throwing error state element does not exist on react instanc e?
    M new to reactjs ,please help
    Hussein Zaki
    @Hussein90
    hi @all
    i need to help
    i am trying to do table
    when i am starting do sort column there something is happen
    i am talking about that
    Custom Sort with Extra Data
    @all
    Hussein Zaki
    @Hussein90
    @AllenFang
    Hussein Zaki
    @Hussein90
    @ganesharulanantham