Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Scientific Software
vEXP
Commits
aad438b5
Commit
aad438b5
authored
Feb 26, 2021
by
legoc
Browse files
Added addIndex for trajectory grid
parent
7ac58531
Changes
1
Hide whitespace changes
Inline
Side-by-side
js/client/views/panels/trajectory-view.js
View file @
aad438b5
...
...
@@ -265,7 +265,7 @@ class TrajectoryPanelView {
// Create a new row.
let
newRow
=
{
id
:
traj
.
id
,
name
:
traj
.
name
,
type
:
traj
.
type
,
visible
:
visible
};
this
.
_trajectoryGrid
.
api
.
updateRowData
({
add
:
[
newRow
]
});
this
.
_trajectoryGrid
.
api
.
updateRowData
({
add
:
[
newRow
]
,
addIndex
:
0
});
// Select the created line if selected is true.
if
(
selected
)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment