Home › Forums › Presentation › Styles › Disabling GRID row
- This topic has 9 replies, 2 voices, and was last updated 4 years, 11 months ago by Saurabh Mulik.
-
AuthorPosts
-
-
January 31, 2020 at 2:31 pm #12704Saurabh MulikParticipant
Can I grade out or disable some rows in grid based on some conditions ?
0 -
February 3, 2020 at 12:14 pm #12719Saurabh MulikParticipant
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 #12730Community ManagerKeymaster
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 -
February 4, 2020 at 10:55 am #12741Saurabh MulikParticipant
Thanks Dhruv.
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 #12751Community ManagerKeymaster
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 -
February 4, 2020 at 11:52 am #12761Saurabh MulikParticipant
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 -
February 4, 2020 at 11:54 am #12771Community ManagerKeymaster
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 #12781Saurabh MulikParticipant
We use OPAL and revision  of Finance jar is 6.1.2.1
0 -
February 5, 2020 at 10:05 am #12794Community ManagerKeymaster
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 -
February 5, 2020 at 11:35 am #12804Saurabh MulikParticipant
okay. thanks for your help Dhruv
0
-
-
AuthorPosts
- You must be logged in to reply to this topic.