Skip to content

Can I suggest adding an option to pass a reader? #3

@ghost

Description

Currently there is no way for bootgrid to consume other data formats. I've added the following code to the $.post callback:

            if (this.option.reader)
            {
                response = this.option.reader.call(this, response);
            }

This allows me to pass in a reader to convert my data format to what bootgrid is expecting. I'm not sure if that is inline with your vision for this plugin, but this works well for my needs. Great work with this, I'll be using the heck out of it.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions