Skip to content

Add getVisibleIndex method into Data/TreeCollection API: DHX-5189 - #147

Open
mafanya23 wants to merge 4 commits into
9.4from
mr-master-datacollection-getvisibleindex-5189
Open

Add getVisibleIndex method into Data/TreeCollection API: DHX-5189#147
mafanya23 wants to merge 4 commits into
9.4from
mr-master-datacollection-getvisibleindex-5189

Conversation

@mafanya23

Copy link
Copy Markdown
Contributor

No description provided.

[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 mafanya23 self-assigned this 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

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

В строках 65-66 комментарии, предложенные Claude. В оригинале было:

grid.data.getVisibleIndex("4"); // -> 3, both indexes match for a top level row
grid.data.getVisibleIndex("4", true); // -> 5

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant