Method Community

 

Uncheck left check box?

Last post 08-15-2013 8:16 AM by Method_Jason. 11 replies.
Page 1 of 1 (12 items)
Sort Posts: Previous Next
  • 07-09-2012 1:15 PM

    Uncheck left check box?

    In a grid attached to a screen, is there any way to programmatically unselect a row (ie, uncheck the checkbox generated on the left)? I've got a button that will loop through the grid and do stuff with all the checked rows, which works just fine. As a cleanup step, I would also like to unselect the row, so when the logic's done running, all the checkboxes are clear. Since the checkbox isn't exposed as an independent object, I can't do this through the normal Select/Unselect Object command. Is there a way to unselect all the rows in the grid at once or individually?

  • 07-09-2012 1:44 PM In reply to

    Re: Uncheck left check box?

    Jason_L:
    In a grid attached to a screen, is there any way to programmatically unselect a row (ie, uncheck the checkbox generated on the left)?

    While there is no way to selectively unselect a row (or rows) you can call a refresh grid action to reset all rows to unselected.  This may be what you are after (see my correction below). 

    ~C

  • 07-09-2012 2:09 PM In reply to

    Re: Uncheck left check box?

    Answer

    Method_Chad:
    you can call a refresh grid action to reset all rows to unselected

    Sorry to correct my own post but the refresh grid action does not uncheck the rows for you.  I'll post up if I find a workaround for you on this.

    ~C

  • 07-16-2012 11:54 AM In reply to

    Re: Uncheck left check box?

    I'm just wondering if a workaround has been found.

  • 07-16-2012 12:49 PM In reply to

    Re: Uncheck left check box?

    Jason_L:
    I'm just wondering if a workaround has been found.

    Hi Jason,

    There is no workaround for this - there are no actions available to check or uncheck a series of records on a grid.

    ~C

  • 09-29-2012 7:50 PM In reply to

    Re: Uncheck left check box?

    But, but, but…  I did see that Method has a “Unselect All” button on one of their own screens, is it not available to us?

    It’s on the export screen, where by default you have all of the fields checked off for the table that you are exporting, at the bottom there is a choice to “Unselect All”

    Would you share how the UnSelect action is accomplished?

    -Mary Longacre
  • 09-30-2012 12:41 PM In reply to

    Re: Uncheck left check box?

    For those following this thread.....good news, the "October version", due mid October, will have a "Clear all checkboxes" option on the Refresh Grid action as well as the Clear Screen for New Entry action. By default these options will be off, but you'll be able to clear a grid's checkboxes (all pages, not just the current page) using actions.

    Mary - for the export grid, that screen is a built-in screen not made using Method actions. Plus the checkboxes aren't in a grid, they are just a list. So if the list was known, you could just Enter Value Into Field On Screen to False for each checkbox.

    Paul

  • 10-01-2012 10:49 AM In reply to

    Re: Uncheck left check box?

    Thank you!  Having the "Clear All Checkboxes" option will be a big help!

    -Mary Longacre
  • 08-14-2013 11:38 AM In reply to

    • djhanna
    • Top 100 Contributor
    • Joined on 06-12-2013
    • Texas
    • Posts 50

    Re: Uncheck left check box?

    @Paul- What about the opposite? (Check left check box)

    Is there an action within Method to set a checkbox as active while looping through a grid?  (ie: Loop through grid and check all rows with criteria=X)

    Thanks,

    Dylan Hanna

  • 08-14-2013 1:19 PM In reply to

    Re: Uncheck left check box?

    Hi Dylan,

    This isn't possible in the current version of Method. I might be able to find another solution for you though. What exactly are you trying to do in your customization? 

    Jason

    Need more help? Ask us about Method consulting services

    Jason Masina
    Community Support Specialist
    Method Integration Inc.
    Toll Free: 1.888.925.6238
    Local and overseas: 416.847.0400
    Fax: 416.640.6027
    E-mail: j.masina@methodintegration.com
  • 08-14-2013 1:20 PM In reply to

    Re: Uncheck left check box?

    Hi Dylan,

    This isn't possible in the current version of Method. I might be able to find another solution for you though. What exactly are you trying to do in your customization? 

    Jason

    Need more help? Ask us about Method consulting services

    Jason Masina
    Community Support Specialist
    Method Integration Inc.
    Toll Free: 1.888.925.6238
    Local and overseas: 416.847.0400
    Fax: 416.640.6027
    E-mail: j.masina@methodintegration.com
  • 08-15-2013 8:16 AM In reply to

    Re: Uncheck left check box?

    Hi Dylan, 

    Based on the email you sent me, it seems as though you are trying use actions to check a specified group of checkboxes from the checkbox column. In your scenario, a filter view on the grid wouldn't quite work because you would also like to see the other records that haven't been checked. One way you can go about this is by creating Yes/No fields in your table to add to the grid and use as a selection substitute. Once finished, an action could clear this field in preperation for the next user. Depending on how many users you have, you may have a different field for each user so that more than one user could work on the screen at the same time. Hope this helps! Let us know if you find a better solution.

    Jason

    Need more help? Ask us about Method consulting services

    Jason Masina
    Community Support Specialist
    Method Integration Inc.
    Toll Free: 1.888.925.6238
    Local and overseas: 416.847.0400
    Fax: 416.640.6027
    E-mail: j.masina@methodintegration.com
Page 1 of 1 (12 items)