Archive recovery note: the supplied Blogspot backup did not contain a separate saved page for this older entry. The text available in its archive/listing capture has been preserved and flagged for a later completeness check.
Sometimes we just compile our posts to keep the things at one place so we or someone can get it easily when we in need. This post belongs to the same concept :) Requirement was to filter the records in grid according to the selection of base enum values from a lookup. Easy task :) but then I had to make a string field a custom lookup on selection of first value from base enum and to make it a read only on selection of second value of the base enum. This is what I did; Filter: modified public boolean modified() { boolean ret; ret = super(); if(str2enum(enum_variable,this.valueStr()) == enum::firstvalue) { stringField.allowEdit(true); stringField .text(' '); } else { stringField .allowEdit(False); stringField ....
Ask a question or leave feedback
This is a review interaction. The WordPress version will store, thread and moderate comments.