Open pamatulli81 opened 10 years ago
Hi, I think you are over complicating things. It does not look like you are using cascading dropdown lists which is the purpose of dependsOn. I think you just need a simple display function.
FILE_OPEN: {
title: '',
width: '1%',
sorting: false,
create: false,
edit: false,
list: true,
display: function (data) {
if (data.record.CDOC_FILENAME != '' ) {
return <img src.....>;
}
else {
return '';
}
}
}
},
Good Luck Malcolm
Hi,
i am trying to get rid with it. I have a field FILE_OPEN which should be shown only if the CDOC_FILENAME is not empty, but it not works. Have i made something wrong ?