I am showing accounts with contacts in list view(contacts are showing with help of drawers)Every thing is working fine except below issues in Drawers
1.I gave “show all” in visible rows (in Pagination section of drawers).
But drawers table of accounts didn’t show all contacts.
When clicking “Load More” button, its showing all contacts.
How to load all contacts without “Load More” button click on Drawers contact table?
2. How to hide “Showing Rows 1-1 of 1+” in Drawers table?
My XML code:
{{Name}}
{{Model.label}}
var params = argumentsp0],
$ = skuid.$;
var field = arguments 0];
var value = arguments 1];
console.log(field.mode);
if (field.mode === ‘edit’) {
var disabilityOptions = ;
skuid.$.each(skuid.model.getModel(‘Status’).getRows(), function(i,row) {
console.log(‘—row----’+row);
disabilityOptions.push({
value : row.Status_Value__c,
label : row.Status_Value__c
});
});
console.log(‘—disabilityOptions----’+disabilityOptions);
var disabilitySelect = skuid.ui.renderers.PICKLIST.edit({
entries : disabilityOptions,
required : false,
value : value
}).change(function() {
//alert(skuid.$(this).val());
field.model.updateRow(field.row,‘AccountNumber’,skuid.$(this).val());
});
field.element.append(disabilitySelect);
} else {
console.log(‘-----nonedit------’+field.mode);
skuid.ui.fieldRenderers.TEXT
}