Clarity Service Management

Expand all | Collapse all

How to deselect all table rows on insert?

Jump to Best Answer
  • 1.  How to deselect all table rows on insert?

    Posted 03-30-2018 02:59 PM

    Have a business case where table rows are inserted from parsed data returned by a plugin (which is querying an API). The ca_fdAddTableRow function selects all inserted rows by default, and there does not appear to be a function to deselect rows. Need to have system inserted rows deselected so the user can select rows themselves.

     

    Has anyone else encountered a similar scenario, or know how I might accomplish this otherwise?

     

    Thanks... 



  • 2.  Re: How to deselect all table rows on insert?
    Best Answer

    Posted 04-03-2018 07:00 PM

    CA Support was able to assist...undocumented parameter that can be used w/ ca_fdAddTableRow to not auto-select rows (, 'false' at end of statement).

     

    (Thanks Jing)



  • 3.  RE: Re: How to deselect all table rows on insert?

    Posted 06-12-2019 10:14 AM
    Hi Team,

    I have used the following code to create a table with out auto select but no luck so far.

    ca_fdAddTableRow(form_id1,'tableComputer',{'col1':'a','col2':2,'col3':_.user.id},'false');

    Can anybody please provide me the exact code for that?

    May thanks in advance

    Regards,
    Pankaj


  • 4.  RE: Re: How to deselect all table rows on insert?

    Posted 06-12-2019 02:03 PM
    false is a value in javascript, no need for quote around it.

    'false' means a string saying false, not false in the boolean meaning.