Is there a more succinct layout?

Is there a more succinct layout?

ross_cohenross_cohen Posts: 5Questions: 2Answers: 0

I have a desired layout: -- and I got it:

However, the layout code looks a bit verbose:

Is there a more succinct way to get the layout I want?

Thanks,
Ross

This question has an accepted answers - jump to answer

Answers

  • kthorngrenkthorngren Posts: 22,412Questions: 26Answers: 5,153
    edited February 23 Answer ✓

    You are setting the info, search, paging and pageLength with empty objects. You could just define them as strings if you aren't applying non-default settings for them. For example:

    top: [ 'info', 'search', 'paging' ],
    

    Is this what you are asking?

    Kevin

  • ross_cohenross_cohen Posts: 5Questions: 2Answers: 0

    Thanks -- that is exactly the information I was looking for. I think I got lost in all the options and somehow ended up with the most complicated possible solution.

Sign In or Register to comment.