Skip to content

Get the row data by rowId #57

Open
@nisanov

Description

@nisanov

There does not appear to be a public method to get the raw row data simply, like:

$('#myGrid').bootgrid('rowData', 123);

Is there such a method or way to get any row data simply?

Activity

self-assigned this
on Dec 4, 2014
bjoernbur

bjoernbur commented on Jan 29, 2015

@bjoernbur

You could access the grid object using the following code:

$('#TableId').bootgrid().data('.rs.jquery.bootgrid')

Then you have access to the all the data on the grid (the property currentRows then contains the data)

nisanov

nisanov commented on Feb 10, 2015

@nisanov
Author

Thanks, bjoernbur.

atreyeemukhopadhyay

atreyeemukhopadhyay commented on Dec 10, 2015

@atreyeemukhopadhyay

Is there a way I could get the selected row data of many rows present in the table by simply passing row-id ?

Right now getSelectedRows gives the selected rows by simply row ids rather the entire row data.

EdwardsNick

EdwardsNick commented on Apr 12, 2016

@EdwardsNick

@atreyeemukhopadhyay

See pull request #280

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

    Development

    Participants

    @nisanov@bjoernbur@rstaib@atreyeemukhopadhyay@EdwardsNick

    Issue actions

      Get the row data by rowId · Issue #57 · rstaib/jquery-bootgrid