Home Forums Presentation Styles Disabling GRID row

Viewing 9 reply threads
  • Author
    Posts
    • #12704
      Saurabh MulikSaurabh Mulik
      Participant

      Can I grade out or disable some rows in grid based on some conditions ?

      0
    • #12719
      Saurabh MulikSaurabh Mulik
      Participant

      here I am displaying data in a Grid using Grid columns which is on a form. When data is displayed on the form, I want to grade out or highlight rows which satisfy certain condition, is this possible ?

      0
    • #12730

      Hi Saurabh,

      You should be able to use the “enabled” property at the specific UI Control to help you with that.

      In the Outline view of studio, select the element – grid or individual columns in the grid.
      In the Property view of studio, find the “Enabled” property under “Behavior” grouping.

      Or if you go to the source tab of the file, find the line in XML where your control is defined and add the property enabled=”false”

      This property can be set using a boolean attribute on respective class, which can be dynamically calculated to meet the business use case.

       

      Regards,

      Dhruv

      0
    • #12741
      Saurabh MulikSaurabh Mulik
      Participant

      Thanks Dhruv.

      I think this will enable/disable the grid control. my use case is to enable/disable specific rows from the grid.

      0
    • #12751

      The rows are your business objects which is controlled through “updatable” attribute.

      Typically speaking, one shouldn’t allow in grid /column edits. If individual items are updatable by the user, then there should be an edit pop launched which can be disabled/controled via the updatable attribute.

      Right click menu items on grid can also be controlled with updatable.

      However, I would like to understand the use case where in-line edits (in grid/column view) are being allowed or needed

      0
    • #12761
      Saurabh MulikSaurabh Mulik
      Participant

      Hi Dhruv

      I am displaying few records in the grid. I want to check date of birth in each row and if DOB > “somevalue” or DOB is blank then I want to highlight that row.

      0
    • #12771

      Can you give few details?

      What version of Finance/product are you using?

      What is the framework/plugin version?

       

      0
    • #12781
      Saurabh MulikSaurabh Mulik
      Participant

      We use OPAL and revision  of Finance jar is 6.1.2.1

      0
    • #12794

      Hello Saurabh,

      For the particular version of the product being used, we recommend using a icon (a new column + attribute) in the grid to indicate/pull attention to the row.

      However highlighting the row, is not a typical customization supported by the version of the product(Opal). This will require further investigation and support typically managed by the NexJ Services team.

      0
    • #12804
      Saurabh MulikSaurabh Mulik
      Participant

      okay. thanks for your help Dhruv

      0
Viewing 9 reply threads
  • You must be logged in to reply to this topic.