Search returns back data against a button

Search returns back data against a button

ajonesajones Posts: 2Questions: 1Answers: 0

I have a datatable which has a button on each row. If I search for "1-" which is the start of the ID of the button, this is returned in the results. How can I prevent this from happening?

Its also not just a case of ignoring a column, if this ID pattern exists on other fields, it does the same thing

Current trading namesStatusAction
M C FREE Active
Test trading Name Inactive

Answers

  • ajonesajones Posts: 2Questions: 1Answers: 0

    ```<table class="display table table-bordered table-striped m-b-none dataTable no-footer" id="siebel-table" role="grid" aria-describedby="siebel-table_info">
    <thead>
    <tr role="row"><th class="sorting_disabled" rowspan="1" colspan="1" style="width: 601px;">Current trading names</th><th class="col-sm-2 text-center sorting_disabled" rowspan="1" colspan="1" style="width: 127px;">Status</th><th class="col-sm-2 text-center sorting_disabled" rowspan="1" colspan="1" style="width: 127px;">Action</th></tr>
    </thead>
    <tbody>

        <tr role="row" class="odd">
                    <td>M C Racing</td>
                    <td class="text-center">Active</td>
                    <td class="text-center"><input type="button" class="update-action-btn btn btn-sm btn-success" value="Update" data-dispose-id="1-30FD"></td>
                </tr><tr role="row" class="even">
                    <td>Test trading Name</td>
                    <td class="text-center">Inactive</td>
                    <td class="text-center"><input type="button" class="update-action-btn btn btn-sm btn-success" value="Update" data-dispose-id="1-19O2MJ"></td>
                </tr></tbody>
    </table>```
    
This discussion has been closed.