実案件で見るMTAppjQueryの使いどころ
- 12. CASE03 - UI, Chart
1. UI
2. JSON
Chart.js
3. CSV
• #MTPremium, #MT7, #mtapp.multiField
- 16. CASE04 - MT7::
…
MTAppListing
//
$(contentFieldInput)
.on('MTAppShowSelectedItems', function () {
})
.MTAppListing({
url: endPoint,
data: {
fields: 'id,label',
sortBy: 'id',
limit: 9999999
},
dialogTitle: ' ',
cbAfterOK: function (cb, $container, $field) {
$field.trigger('MTAppShowSelectedItems');
},
jsontable: {
header: {id: 'ID', label: ' '},
headerOrder: ['label', 'id'],
itemsRootKey: 'items',
listingTargetKey: 'id',
listingCheckboxType: 'checkbox',
listingTargetEscape: false
}
}).prop('readonly', true).trigger('MTAppShowSelectedItems').nextAll('small').hide();