Skip to main content
kavyam0002
March 25, 2022
Question

Grid

  • March 25, 2022
  • 6 replies
  • 0 views

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
    March 25, 2022

    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
    March 25, 2022

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

    stefanhelzle0001
    Brainy
    March 25, 2022

    Can you give us a bit more details?

    kavyam0002
    March 25, 2022

    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
    March 25, 2022

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

    January 12, 2023

    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