Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8185261
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 7, 20262026-06-07T01:47:12+00:00 2026-06-07T01:47:12+00:00

When I am using multiple grids on the same page, or over my entire

  • 0

When I am using multiple grids on the same page, or over my entire website, is there any way to abstract out the setup of common grid components? Ex the colModel section, or other components that would be the same between two grids, while giving me the option to make each grid unique, Ex in name, caption, etc.

Basically what this comes down to is I want to avoid the wall of text that comes with the setup of multiple grids that are highly similar.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-07T01:47:15+00:00Added an answer on June 7, 2026 at 1:47 am

    I was able to achieve some of what I was looking for.

    I was able to take the largest chunk of repeated code, the colModel:[..] and turn that into a variable and then call on it.

    Ex

    var colModelForReuse = [{name: 'exName', index: 'exIndex' ..... }, 
                            {.......................................}];
    

    and then later in my Grid setup

    colNames: [ 'exName', .....],
    colModel: colModelForReuse,
    pager: pagerName,
    ...
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Are there any advantages or disadvantages to using multiple assignment in a statement? In
I plan on using multiple popups on my website. Every popup will be rendered
I dont see any direct mention on using multiple slugs (or any behavior for
I would like to create multiple grids and switch between them using a dropdown.
Is there a way, using Exchange Web Services Managed API, to query for a
I am using multiple instances of AVAudioPlayer to play multiple sound files in a
I am using multiple instances of AVAudioPlayer to play multiple audio files simultaneously. I
I am using multiple threads in my application using while(true) loop and now i
I'm using multiple threads in my application. Basically I have a combo box and
I am using multiple choice ListView items. The user can select multiple items. So

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.