I'm playing with your FieldPicker, and I think it'll work to address a particular kind of dataset I have. In this situation, I have 100s of fields, and I'd like to help users pick which ones they want to view. I don't want to use your typical sample values, I'd rather show users a text based description of each field, so I've done this:
which works well... except I'd like to be able to filter the sample value ("Description" in my example) column too. That is, I want to change canFilter to true in this code:
I could accomplish this by editing ISC_Grids.js, but I'm wondering if there's a supported method for this (or could you add one)?
Code:
useAdvancedFieldPicker: true,
advancedFieldPickerThreshold: 0,
fieldPickerShowSampleValues: true,
fieldPickerWindowProperties: {
fieldPickerProperties: {
sampleValueTitle:"Description",
sampleRecord:fieldDescriptions
}
},
Code:
if (!available || this.showAvailableSampleValue) {
fields.add({
name: this.sampleValueField,
title: this.sampleValueTitle,
canFilter: true,
canEdit: false,
type: "any"
});
auto = true;
}
I could accomplish this by editing ISC_Grids.js, but I'm wondering if there's a supported method for this (or could you add one)?
Comment