Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion src/components/DatasetControl/EditColumns/EditColumns.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,8 @@ export const EditColumns = (props: IEditColumnsProps) => {
footer: styles.panelFooter,
commands: styles.panelCommands,
scrollableContent: styles.panelScrollableContent,
content: styles.panelContent
content: styles.panelContent,
headerText: styles.headerText
}}
isFooterAtBottom
onRenderFooterContent={() => {
Expand Down
3 changes: 3 additions & 0 deletions src/components/DatasetControl/EditColumns/styles.ts
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,9 @@ export const getEditColumnsStyles = (theme: ITheme) => {
flexDirection: 'column',
gap: 12
},
headerText: {
whiteSpace: 'normal'
},
selectors: {
display: 'flex',
flexDirection: 'column',
Expand Down
2 changes: 2 additions & 0 deletions src/components/Grid/grid/ag-grid/AgGridModel.ts
Original file line number Diff line number Diff line change
Expand Up @@ -291,6 +291,8 @@ export class AgGridModel extends EventEmitter<IAgGridModelEvents> {
case this._grid.isColumnEditable(column.name, e.data):
//do not navigate on aggregated/grouped rows
case e.data?.getSummarizationType() !== 'none':
//do not allow double click navigation for editable grids (it creates confusion between double clicking read only columns to navigate and double clicking editable columns to edit)
case this._grid.isEditingEnabled():
//do not navigate on checkbox column
case column.name === DataProvider.CONST.CHECKBOX_COLUMN_KEY: {
break;
Expand Down
Loading