31 Dec 2018: Thank you to our knowledgeable and friendly forums users for another great year. We are aware of the uptick in spam accounts and are doing our best to ban these at first sight. Thank you for your patience!

Getting the row id for a grid

jguptajgupta Posts: 27
edited June 2016 in Developer Mailing List
How do I get the row id for the Grid, when I add a row to grid. Is there any way to get this information.
Something like image shown below.


  • GerbenRienkGerbenRienk Posts: 799 ✭✭✭
    We have a solution for this, but it requires some scripting. I attach a sample crf with the code.
    The scripts writes an autonumber, whenever something is keyed in in any
    input of the table. (If you only have select and/or radio's, you must modify
    the listener accordingly.) What you must do if you want to use the script in
    your own table is set the proper groupName in var groupName =[your very own
    groupname here]".
    Furthermore in the script a prefix is defined, now #, but that can of course be anything or nothing.
    It may look a bit much for just a few numbers, but you can use this
    construction also in a CRF with more than one table.
    When I have time I will write a page about it with some more explaining, but for now I hope you can use this as a startingpoint.
    Kind regards,
    Gerben Rienk
  • jguptajgupta Posts: 27
    Thanks! Gerben,
    Sincerely appreciate your help with this.
    Best regards,
  • jguptajgupta Posts: 27
    Thanks! your solution works great. Appreciate all your time and help with this issue.
    Best regards,
  • GerbenRienkGerbenRienk Posts: 799 ✭✭✭
    Finally I managed to write that page:
  • jguptajgupta Posts: 27
    This is awesome. Thanks a ton for helping me with this.
    Best regards,
Sign In or Register to comment.