[Vtigercrm-developers] Maximum number of columns in any view

Alan Lord alanslists at gmail.com
Sat May 16 14:12:45 GMT 2020


And here then:

https://code.vtiger.com/vtiger/vtigercrm/blob/master/layouts/v7/modules/Vtiger/resources/List.js#L2352

This parameter should only be in one place at least (if not 
configurable) and not in multiple locations...

Al


On 16/05/2020 14:13, Jitu wrote:
> check this file layouts/v7/modules/CustomView/resources/CustomView.js
> 
> /**
> * Function which will register the select2 elements for columns selection
> */
> registerSelect2ElementForColumnsSelection:function() {
> varselectElement= this.getColumnSelectElement();
> vtUtils.showSelect2ElementView(selectElement,{maximumSelectionSize:15});
> },
> On 5/16/20 5:01 PM, Alan Lord wrote:
>> I think the only limit is in the client code.
>>
>> Look in  Vtiger_List_js (search for "15")...
>>
>> Al
>>
>> On 15/05/2020 21:47, Sukhdev Mohan wrote:
>>> Hello All,
>>>
>>> A client has a very particular request: they would like to see more 
>>> columns in any list and the limit of 15 isn’t enough for them. I’ve 
>>> tried to explain that this will badly affect the UI but they don’t 
>>> care (I’m sure they’ll be reverting back asap). Is there any config 
>>> file where to set the new maximum columns allowed? What other steps 
>>> Do I need?
>>>
>>>
>>> Best Regards,
>>> Sukhdev Mohan
>>> ———————————
>>> Cel. (+39) 320 7020345
>>> Email s.mohan at myti.it <mailto:s.mohan at myti.it>
>>>
>>>
>>>
>>>
>>>
>>> _______________________________________________
>>> http://www.vtiger.com/
>>>
>> _______________________________________________
>> http://www.vtiger.com/
> 
> _______________________________________________
> http://www.vtiger.com/
> 


More information about the vtigercrm-developers mailing list