Skip to main content
kavyam0002
Brainy
Mar 25, 2022 5:50 AM UTC
Question

Grid

Hi, 

in the grid one row need to populate by default is it possible to do?

based on the id.. if the id is in db then populate row automatically else no

Thanks  

    6 replies

    sunilnaikb0002
    Inspiring
    Mar 25, 2022 6:08 AM UTC

    Hi Kavya,

    If you want to have a prepopulated row by default,
    While you query the table,
    configure paging Info with ```startIndex : 1, batchSize: 1``` to get 1 row of data that you want to prepopulate in a grid by default.

    And later you can have your desired rows.

    kavyam0002
    Brainy
    Mar 25, 2022 11:50 AM UTC

    i have already using it in the query filter but it is not showing 

    stefanhelzle0001
    Brainy
    Mar 25, 2022 7:09 AM UTC

    Can you give us a bit more details?

    kavyam0002
    Brainy
    Mar 25, 2022 10:57 AM UTC

    in this grid based on cif, one row need to auto populate.. data is already available in the data base 

    here can we have default rows in addrow link? 

    stefanhelzle0001
    Brainy
    Mar 25, 2022 11:54 AM UTC

    Then you need to fetch it from DB and make it the default value for the grid.

    New Participant
    Jan 12, 2023 4:04 AM UTC

    The CSS Grid Layout specification includes rules that govern what occurs when you construct a grid but do not place part or all of the child items, in addition to the ability to precisely position things onto a formed grid. fnf