<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">The second hypothesis is what is concerning me… I think the original devs set a fixed amount of columns, maybe in regard of UX… Have to try it out..<br class=""><div class="">
<div dir="auto" style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0); letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><div>Best Regards,<br class="">Sukhdev Mohan<br class="">———————————</div><div>Cel. (+39) 320 7020345<br class=""><a href="mailto:s.mohan@myti.it" class="">Email s.mohan@myti.it</a></div><div class=""><br class=""></div></div><br class="Apple-interchange-newline"><br class="Apple-interchange-newline">
</div>
<div><br class=""><blockquote type="cite" class=""><div class="">Il giorno 16 mag 2020, alle ore 16:29, Alan Lord <<a href="mailto:alanslists@gmail.com" class="">alanslists@gmail.com</a>> ha scritto:</div><br class="Apple-interchange-newline"><div class=""><div class="">This bit of code in Vtiger_List_Js (from line 2352) could be better IMHO.<br class=""><br class="">if (selectedFieldsEles.length > 15) { app.helper.showErrorNotification({message:app.vtranslate('JS_ADD_MAX_15_ITEMS')});<br class="">return false;<br class="">}<br class=""><br class="">I see 2 issues:<br class=""><br class="">1. The limit is hardcoded here AND it is hardcooded in the CustomView_JS class as below (there should be only ONE place this is set.<br class=""><br class="">2. The translation label above basically means you can't change the value if you wanted to anyway as the value is also hardcoded into the translatable message label.<br class=""><br class=""><br class="">Al<br class=""><br class=""><br class=""><br class="">On 16/05/2020 15:12, Alan Lord wrote:<br class=""><blockquote type="cite" class="">And here then:<br class=""><a href="https://code.vtiger.com/vtiger/vtigercrm/blob/master/layouts/v7/modules/Vtiger/resources/List.js#L2352" class="">https://code.vtiger.com/vtiger/vtigercrm/blob/master/layouts/v7/modules/Vtiger/resources/List.js#L2352</a> This parameter should only be in one place at least (if not configurable) and not in multiple locations...<br class="">Al<br class="">On 16/05/2020 14:13, Jitu wrote:<br class=""><blockquote type="cite" class="">check this file layouts/v7/modules/CustomView/resources/CustomView.js<br class=""><br class="">/**<br class="">* Function which will register the select2 elements for columns selection<br class="">*/<br class="">registerSelect2ElementForColumnsSelection:function() {<br class="">varselectElement= this.getColumnSelectElement();<br class="">vtUtils.showSelect2ElementView(selectElement,{maximumSelectionSize:15});<br class="">},<br class="">On 5/16/20 5:01 PM, Alan Lord wrote:<br class=""></blockquote></blockquote><br class=""><br class="">_______________________________________________<br class=""><a href="http://www.vtiger.com/" class="">http://www.vtiger.com/</a><br class=""></div></div></blockquote></div><br class=""></body></html>