Skip to content

react-bootstrap-table2 with remote option #1658

@harsh9215

Description

@harsh9215

Question
Am using this library with remote option. In that wanted to add action buttons to each row. I have added too but on the action button click event am getting undefined for all the variables that am using in the action methods.

Screenshots
`
action methods in schema
{
dataField: 'actions',
text: 'Actions',
formatter: getActionButtons
}
Below is the method that am appending buttons to action methods
image

on the button click am trying to call cancleAppointmentModalRef.showModal but here am getting null from cancleAppointmentModalRef `

But the same scenario works fine without remote

could you please suggest me how I can proceed with this

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions