Skip to content

Commit

Permalink
catch up with getredash#2982
Browse files Browse the repository at this point in the history
  • Loading branch information
Allen Short committed Nov 14, 2018
1 parent 1b8a88e commit a7f3ed0
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion client/app/visualizations/table/DynamicTable.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import renderJsonView from '@/components/dynamic-table/json-cell/json-view-inter
import { formatSimpleTemplate } from '@/lib/value-format';

function validateItemsPerPage(value) {
const defaultValue = 10;
const defaultValue = 25;
value = parseInt(value, 10) || defaultValue;
return value > 0 ? value : defaultValue;
}
Expand Down
2 changes: 1 addition & 1 deletion client/app/visualizations/table/GridEditor.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import './table-editor.less';
import TableEditorColumns from './TableEditorColumns';
import GridRenderer from './GridRenderer';

const ALLOWED_ITEM_PER_PAGE = [5, 10, 15, 20, 25];
const ALLOWED_ITEM_PER_PAGE = [5, 10, 15, 20, 25, 50, 100, 150, 200, 250];


function getColumnContentAlignment(type) {
Expand Down
2 changes: 1 addition & 1 deletion client/app/visualizations/table/GridRenderer.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ export default class GridRenderer extends React.Component {
static Options = GridOptions

static DEFAULT_OPTIONS = {
itemsPerPage: 15,
itemsPerPage: 25,
autoHeight: true,
defaultRows: 14,
defaultColumns: 3,
Expand Down

0 comments on commit a7f3ed0

Please sign in to comment.