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

Merged Cells Re-sort after Reorder #6429

Closed
marciogurka opened this issue Mar 21, 2023 · 2 comments
Closed

Merged Cells Re-sort after Reorder #6429

marciogurka opened this issue Mar 21, 2023 · 2 comments
Assignees
Labels
bug Something isn't working forum Issues from forum high-priority Urgent to have fixed large-account Reported by large customer premium resolved Fixed but not yet released (available in the nightly builds)
Milestone

Comments

@marciogurka
Copy link

Forum post

"Hi,
I have 2 columns in the grid which are merged. I am also enabling the Row Reordering. After row reordering, the cell merge is reset to normal rows.
I want to manually re-sort the grid based on both the columns after row reordering in order to display the cell merge. How to achieve this in the change event?
Please refer the below example.

const grid = new Grid({
    appendTo : targetElement,

// makes grid as high as it needs to be to fit rows
autoHeight : true,
  

features : {
    // enable row reordering by dragging
    rowReorder : true,
sort : ['surName','city'],
mergeCells:  true,
    },

data : DataGenerator.generateData(10),

columns : [
    { field : 'firstName', text : 'First name', width : 150, locked : true },
    { field : 'surName', text : 'Surname', width : 150, locked : true , mergeCells: true},
    { field : 'city', text : 'City', flex : 1, mergeCells: true },
    { field : 'team', text : 'Team', flex : 1 },
    { field : 'score', text : 'Score', flex : 1 },
    { field : 'rank', text : 'Rank', flex : 1 }
]
});

```"


https://user-images.githubusercontent.com/16693227/226704335-fa65158b-df78-4c75-b97a-42d2caa225c5.mp4

@marciogurka marciogurka added bug Something isn't working premium forum Issues from forum large-account Reported by large customer labels Mar 21, 2023
@marciogurka marciogurka changed the title [VUE] Grid - Merged Cells Re-sort after Reorder Merged Cells Re-sort after Reorder Mar 21, 2023
@matsbryntse matsbryntse added the high-priority Urgent to have fixed label Mar 22, 2023
@marciogurka
Copy link
Author

+1 user asking for this.

@isglass
Copy link
Contributor

isglass commented Jun 7, 2023

Going to implement #5012, which is going allow it to merge the cells even after reordering, since sorting wont be required

@isglass isglass added the ready for review Issue is fixed, the pull request is being reviewed label Jun 8, 2023
@isglass isglass self-assigned this Jun 8, 2023
@isglass isglass added this to the 5.4.0-alpha-2 milestone Jun 8, 2023
@isglass isglass added resolved Fixed but not yet released (available in the nightly builds) and removed ready for review Issue is fixed, the pull request is being reviewed labels Jun 8, 2023
@SergeyMaltsev SergeyMaltsev modified the milestones: 5.4.0-alpha-2, 5.4.0 Jun 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working forum Issues from forum high-priority Urgent to have fixed large-account Reported by large customer premium resolved Fixed but not yet released (available in the nightly builds)
Projects
None yet
Development

No branches or pull requests

4 participants