mirror of
https://github.com/tuxis-ie/nsedit.git
synced 2025-06-07 00:47:00 +03:00
Implement record sorting. Closes #83
This commit is contained in:
parent
d103c7b04f
commit
749478c36a
2 changed files with 43 additions and 2 deletions
|
@ -563,6 +563,7 @@ $(document).ready(function () {
|
|||
noDataAvailable: 'No records for ' + zone.record.name
|
||||
},
|
||||
paging: true,
|
||||
sorting: true,
|
||||
pageSize: 20,
|
||||
openChildAsAccordion: true,
|
||||
actions: {
|
||||
|
@ -592,6 +593,7 @@ $(document).ready(function () {
|
|||
name: {
|
||||
title: 'Label',
|
||||
width: '7%',
|
||||
sorting: true,
|
||||
create: true,
|
||||
display: displayContent('name', zone.record.name),
|
||||
inputClass: 'name',
|
||||
|
@ -648,6 +650,7 @@ $(document).ready(function () {
|
|||
title: 'Content',
|
||||
width: '30%',
|
||||
create: true,
|
||||
sorting: true,
|
||||
display: displayContent('content'),
|
||||
inputClass: 'content',
|
||||
listClass: 'content'
|
||||
|
@ -656,6 +659,7 @@ $(document).ready(function () {
|
|||
title: 'TTL',
|
||||
width: '2%',
|
||||
create: true,
|
||||
sorting: false,
|
||||
display: displayContent('ttl'),
|
||||
defaultValue: '<?php echo $defaults['ttl']; ?>',
|
||||
inputClass: 'ttl',
|
||||
|
@ -680,6 +684,7 @@ $(document).ready(function () {
|
|||
title: 'Disabled',
|
||||
width: '2%',
|
||||
create: true,
|
||||
sorting: false,
|
||||
display: displayContent('disabled'),
|
||||
defaultValue: '<?php echo $defaults['disabled'] ? 'No' : 'Yes'; ?>',
|
||||
inputClass: 'disabled',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue