app change
This commit is contained in:
@ -223,6 +223,7 @@
|
||||
type: statusCol,
|
||||
enabled: 'enabled'
|
||||
},
|
||||
{ key: 'c2c', caption: '多行编辑', type: Grid.ColumnTypes.Text, enabled: 'enabled' },
|
||||
{ key: 'c3', caption: 'column 3', width: 90 },
|
||||
{ key: 'c4', caption: 'Note', type: Grid.ColumnTypes.Input },
|
||||
{
|
||||
@ -252,11 +253,11 @@
|
||||
grid.cellDblClicked = (rId, cId) => console.log(`row (${rId}), column (${cId}) double clicked.`);
|
||||
grid.init();
|
||||
grid.source = [
|
||||
{ c1: 'abc', c2: true, c2a: 'off', c2b: '<font style="color: red; margin-left: 8px">red</font>', c3: 12345, c4: 'another note', enabled: false },
|
||||
{ c1: 'abc', c2: true, c2a: 'off', c2b: '<font style="color: red; margin-left: 8px">red</font>', c2c: 'multiple lines\nline2\nline3\n\nline5', c3: 12345, c4: 'another note' },
|
||||
{ c1: 'abc2bbbbaaaaa', c2: false, c2a: 'pending', c2b: '<b style="margin-left: 8px">bold</b>', c3: 1225, c4: 'Note note this is note' },
|
||||
{ c1: 'type', c2: false, c2a: 'broken', c3: 121111 },
|
||||
{ c1: 'type', c2: false, c2a: 'broken', c2c: 'multiple lines\nline2\nline3\n\nline5', c3: 121111 },
|
||||
{ c1: 'diff', c2: true, c2a: 'running', c3: 124445555555555555 },
|
||||
{ c1: 'diff', c2: true, c2a: 'running', c3: 12499 },
|
||||
{ c1: 'diff', c2: true, c2a: 'running', c3: 12499, enabled: false },
|
||||
{ c1: 'diff', c2: true, c2a: 'off', c3: 1244445 }
|
||||
];
|
||||
|
||||
@ -265,7 +266,7 @@
|
||||
</script>
|
||||
<style type="text/css">
|
||||
#grid-sample {
|
||||
/* height: 400px; */
|
||||
height: 500px;
|
||||
}
|
||||
|
||||
#grid-sample>.grid {
|
||||
|
Reference in New Issue
Block a user