Add getVisibleIndex method into Data/TreeCollection API: DHX-5189 - #147
Open
mafanya23 wants to merge 4 commits into
Open
Add getVisibleIndex method into Data/TreeCollection API: DHX-5189#147mafanya23 wants to merge 4 commits into
mafanya23 wants to merge 4 commits into
Conversation
[add] updates for v9.3.9
[update] add Excel export fix to v9.3.9
[add] what's new for v9.3.10
- API pages for getVisibleIndex() of DataCollection and TreeCollection, new in v9.4: usage, parameters, the -1 return cases, and examples - the flat parameter and the collapsed branch case are documented on the TreeCollection page only, the flat collection signature takes an id - note the default expand state difference between Grid with type: "tree" and Tree - cross-link the two pages, so the availability of the method and of the flat parameter is stated on both - list the method in the DataCollection and TreeCollection overviews and in the sidebar Release notes for v9.4 are left to the parent version branch.
mafanya23
commented
Sep 9, 2026
| grid.data.getVisibleIndex("3.2", true); // -> 4, the fifth shown row of the grid | ||
| grid.data.getVisibleIndex("4"); // -> 3, the same index getIndex() reports for a top level row | ||
| grid.data.getVisibleIndex("4", true); // -> 5, the sixth shown row of the grid | ||
|
|
Contributor
Author
There was a problem hiding this comment.
В строках 65-66 комментарии, предложенные Claude. В оригинале было:
grid.data.getVisibleIndex("4"); // -> 3, both indexes match for a top level row
grid.data.getVisibleIndex("4", true); // -> 5
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.