mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-25 18:55:31 -06:00
Allow configuration of CSV and clipboard formatting of query results. Fixes #2781
This commit is contained in:
committed by
Dave Page
parent
2579458091
commit
0c566f132e
@@ -36,10 +36,12 @@ describe('#handleQueryOutputKeyboardEvent', function () {
|
||||
columnDefinitions = [{name: 'checkboxColumn'},
|
||||
{pos: 1, name: 'firstColumn', field: 'firstColumn'},
|
||||
{ pos: 2, name: 'secondColumn', field: 'secondColumn'}],
|
||||
dataView = new Slick.Data.DataView();
|
||||
dataView = new Slick.Data.DataView(),
|
||||
CSVOptions = {'quoting': 'all', 'quote_char': '\'', 'field_separator': ','};
|
||||
|
||||
grid = new Slick.Grid($('<div></div>'), dataView, columnDefinitions);
|
||||
grid.setSelectionModel(new XCellSelectionModel());
|
||||
grid.CSVOptions = CSVOptions;
|
||||
dataView.setItems(data, '__temp_PK');
|
||||
slickEvent = {
|
||||
grid: grid,
|
||||
|
||||
Reference in New Issue
Block a user