Use a preference setting. Code your portlet to read the preference and generate the appropriate number of columns. When you create a new instance, set the preference based on the number of columns desired.
Hello, thank you for your answer, but I need a practice example to view how work this.
I'm new in this, and I have a little idea of you answer me in the previous post.
I need an example, if is possible. Thank you.
Hello, can you say me any link with information about this?. Thank you.