nhn / tui.grid

🍞🔡 The Powerful Component to Display and Edit Data. Experience the Ultimate Data Transformer!
http://ui.toast.com/tui-grid/
MIT License
2.41k stars 388 forks source link

dynamic rowSpan option question(and _attribute.rowSpan) #1923

Open cmun2 opened 1 year ago

cmun2 commented 1 year ago

Summary

Currently, I am trying to

merge two row cells based on the certain condition that I get from the server and leave the other row cells unmerged if the conditions are not met.

Dynamic rowSpan is a great tool but it automatically merges all the rows with the same values.

The appearance that I want to make is shown in the below screenshot which is developed with using _attribute.rowSpan method.

But in the console, I see that this method is deprecated.

Is there any other method that I could merge only two row cells based on certain condition such as receiving data with string of 'Y' and leave the other cells with single cell when receiving 'N'.

It also shouldn't be merged all together like the dynamic rowSpan which combines all the duplication in the row cells.

Screenshots image

Version 4.20.0