Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Expose the functionality of private getRowData via a public method #7930

Closed
IvayloG opened this issue Aug 4, 2020 · 0 comments · Fixed by #8203
Closed

Expose the functionality of private getRowData via a public method #7930

IvayloG opened this issue Aug 4, 2020 · 0 comments · Fixed by #8203
Assignees
Labels
grid: general size: S 🧰 feature-request version: 10.2.x ✅ status: resolved Applies to issues that have pending PRs resolving them, or PRs that have already merged.

Comments

@IvayloG
Copy link
Contributor

IvayloG commented Aug 4, 2020

Expose the functionality of the private api.service method getRowData via a public proxy method, so the users can have an access to the actual row data (transactions or not) if needed.

    /**
     * @hidden
     * @internal
     */
    public getRowData(rowID: any) {
        const data = this.get_all_data(this.grid.transactions.enabled);
        const index = this.get_row_index_in_data(rowID, data);
        return data[index];
    }
@ddincheva ddincheva added 🛠️ status: in-development Issues and PRs with active development on them and removed 🆕 status: new labels Sep 24, 2020
ddincheva added a commit that referenced this issue Sep 25, 2020

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
@ddincheva ddincheva added ✅ status: resolved Applies to issues that have pending PRs resolving them, or PRs that have already merged. and removed 🛠️ status: in-development Issues and PRs with active development on them labels Sep 25, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
grid: general size: S 🧰 feature-request version: 10.2.x ✅ status: resolved Applies to issues that have pending PRs resolving them, or PRs that have already merged.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants