How to use the @blueprintjs/table/src.Utils.toBase26Alpha function in @blueprintjs/table

To help you get started, we’ve selected a few @blueprintjs/table examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github palantir / blueprint / packages / table-dev-app / src / features.tsx View on Github external
const getCellClipboardData = (row: number, col: number) => {
        return Utils.toBase26Alpha(col) + (row + 1);
    };
github palantir / blueprint / packages / table-dev-app / src / features.tsx View on Github external
cellRenderer(rowIndex: number, columnIndex: number) {
                return {Utils.toBase26Alpha(columnIndex) + (rowIndex + 1)};
            },
        },
github palantir / blueprint / packages / table-dev-app / src / features.tsx View on Github external
columnHeaderCellRenderer: (columnIndex: number) => {
                const alpha = Utils.toBase26Alpha(columnIndex);
                return (
                    
                        <h4>Header {alpha}</h4>
                        <p>Whatever interactive header content goes here lorem ipsum.</p>
                    
                );
            },
        },
github palantir / blueprint / packages / table-dev-app / src / mutableTable.tsx View on Github external
Utils.times(nextState.numCols, columnIndex => {
            this.store.setColumnName(columnIndex, `Column ${Utils.toBase26Alpha(columnIndex)}`);
            Utils.times(nextState.numRows, rowIndex => {
                this.store.set(rowIndex, columnIndex, generator(rowIndex, columnIndex));
            });
        });
    };
github palantir / blueprint / packages / table-dev-app / src / features.tsx View on Github external
columnHeaderCellRenderer: (columnIndex: number) =&gt; {
                return ;
            },
        },