Keeping the grid fields locked

BatchPatch Forums Home Forums BatchPatch Support Forum Keeping the grid fields locked

Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #9105
    pciccone
    Participant

    We prefer BatchPatch to hold our columns selected, field order and field size. We do not want it to resize, add, remove etc columns. As such, we have all those options unchecked in settings. The problem is, however, even with all of our BPS files saved, every time we start BP it reverts all the columns to different positions and adds columns we don’t want to see. The kicker is, it always adds the same columns and always resets the same positions. It seems at one time we were able to save the grid the way we wanted, but cannot get it to ever save again. Can you tell me, how can I save the grid view so the fields shown, and size, stay and don’t get reset when we close the app? It’s really a pain each time to reset each column, hide columns for each tab, each time we start.

    #10909
    doug
    Moderator

    It sounds like maybe you just missed one of the settings under ‘Tools > Settings > Grid Preferences’

    Note the section in the image below for ‘Auto-resize settings for windows and columns.’ You’ll want to have your settings match the settings in the image, and depending on your preference you might also want to consider unchecking the box that says ‘Allow BatchPatch to unhide columns automatically,’ or you might simply want to leave it checked but edit the columns that can be unhidden by clicking the “except these columns” button.

    Column and Window Settings

    I hope this helps.

    -Doug

    #10908
    pciccone
    Participant

    To me, my settings look good. They are different than yours but that is just a matter of preference in other areas. Struggling to find a way to attach a photo I just took like you did. My whole bottom half is unchecked.

    #10906
    pciccone
    Participant
    #10907
    doug
    Moderator

    Your settings are definitely correct.

    When you’re launching BatchPatch, are you loading a .bps file or are you simply double-clicking the BatchPatch.exe and using an empty grid?

    The behavior in BatchPatch is to abide by those ‘Auto resize settings’ for new empty tabs but not for existing .bps files. When you launch a .bps file all columns that are populated in the .bps file are made visible in the grid. To be honest, I’m not quite sure why this is the case. It might have simply been an oversight on our part, and I will discuss with the team to see if we can modify this behavior. However, can you confirm that you’re experiencing the behavior that I’m describing only for .bps files that you open? What I’m unclear on at the moment is if you are experiencing the issue when you launch an empty grid too or only when you load a .bps file.

    Thanks,

    Doug

    #10905
    pciccone
    Participant

    We have the checkbox on that states “remember open tabs when launching BP.exe”, so for us we just launch the EXE and it opens what we need (the BPS tabs). I just did a few dozen close/open operations to try to find some patterns. I found that new BPS files are working properly, fields are not adding and we appear to hold size. ALL of my existing BPS files, however, are malfunctioning. They always add back two columns “remote command output” and “scheduled tasks” and all columns get resized, and re-sorted. The problem seems to come after it was created, somehow corrupting the BPS files. Can I send you at least one BPS file for review? I am guessing with my BPS file you can reproduce the problem, at least, in house easily. Maybe if you look at the file you can see what has happened to the file, then maybe reverse engineer it to fix the root cause?

    #10903
    doug
    Moderator

    I sent you an email.

    -Doug

    #10888
    dennis
    Participant

    I am having the same problem. Any solution in this case?

    I even tried to modify the .bps file with Notepad++ to sort the columns in a way that fits my needs. But BatchPatch ignores this kind of sorting the columns when opening the .bps files…

    #10889
    doug
    Moderator

    Dennis – The column sizes and column order are both set globally, not per-tab. So, unfortunately you will not be able to have different sizes and ordering remembered on a per-tab basis. If you close all instances of BP and then open just a single tab and set the column order in the way that you want, and then close BP, that order will be remembered when you launch a .bps file.

    As far as columns being unhidden that you don’t want to unhide, the current version of BP will unhide any columns the contain data in the .bps file when the .bps file is launched.

    There is a button under ‘Tools > Settings > Grid Preferences > “except these columns”‘ which allows you to have BP never open certain columns automatically during action execution. However, when loading a .bps file, if the columns contain data, they will be opened regardless of that setting.

    That said, in the new version that will be out in the next month or two there will be a new option that will allow you to bypass the auto-opening of specific columns when loading .bps files.

    -Doug

    #10394
    doug
    Moderator

    Two points…

    1. There is a bug in the current version of BP that prevents the global column display order from being properly loaded when using ‘Tools > Settings > Remember open tabs’

    2. The next release of BP will save the column display order with each .bps file instead of globally.

Viewing 10 posts - 1 through 10 (of 10 total)
  • You must be logged in to reply to this topic.