def select(self, ids, do_emit=True, **kwargs):
        """Select some rows in the table.

        By default, the `select` event is raised, unless `do_emit=False`.

        """
        # Select the rows without emiting the event.
        self.eval_js('table.select({}, false);'.format(dumps(ids)))
        if do_emit:
            # Emit the event manually if needed.
            self.emit('select', ids, **kwargs)
Select some rows in the table.

        By default, the `select` event is raised, unless `do_emit=False`.