January 31, 2020 at 2:31 pm #12704
Can I grade out or disable some rows in grid based on some conditions ?0
February 3, 2020 at 12:14 pm #12719
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
February 4, 2020 at 10:20 am #12730
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.
February 4, 2020 at 10:55 am #12741
I think this will enable/disable the grid control. my use case is to enable/disable specific rows from the grid.0
February 4, 2020 at 11:06 am #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 needed0
February 4, 2020 at 11:52 am #12761
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
February 4, 2020 at 11:54 am #12771
Can you give few details?
What version of Finance/product are you using?
What is the framework/plugin version?0
February 4, 2020 at 12:50 pm #12781
We use OPAL and revision of Finance jar is 188.8.131.52
February 5, 2020 at 10:05 am #12794
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
February 5, 2020 at 11:35 am #12804
okay. thanks for your help Dhruv0
You must be logged in to reply to this topic.