Using SPSetMultiSelectSizes for more than one multi-select column

Jul 4, 2012 at 4:54 PM

Hi,

I use SPSetMultiSelectSizes for one multi-select column and work great. Thanks Marc.

But, how can I customize it in order to use this for two multi-select columns in the same form?

I have in Tasks the following:

- Predecessors - which point to tasks

- Linked documents - which point to documents from library

Thanks,

Ovidiu

Jul 5, 2012 at 9:20 AM

I figured out :)

If someone else meet the same requirement, I put something like :

 $(document).ready(function() {
   $().SPServices.SPSetMultiSelectSizes({
     multiSelectColumn: "First",
     minWidth: 150,
     maxWidth: 200
   });
  
    $().SPServices.SPSetMultiSelectSizes({
     multiSelectColumn: "Second",
     minWidth: 150,
     maxWidth: 200
   });

 

Coordinator
Jul 6, 2012 at 6:40 PM

Yup, one call per column is the right answer.

M.