Appian Community
Site
Search
Sign In/Register
Site
Search
User
DISCUSS
LEARN
SUCCESS
SUPPORT
Documentation
AppMarket
More
Cancel
I'm looking for ...
State
Suggested Answer
+1
person also asked this
people also asked this
Replies
6 replies
Answers
1 answer
Subscribers
11 subscribers
Views
4272 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
User Interface
hi all, is there a way to prevent a grid from showing a default empty row
eaglez
over 11 years ago
hi all,
is there a way to prevent a grid from showing a default empty row ?
i did some test.
this will occur when the grid includes a true/false column or dropdown column(these fields are all not required).
however if you set null as default value to true/false field, sometimes the default empty row disappears.
accturally i have two models. grids in the two models both only have text and true/false columns. but one grid does not show default empty row, and the other still shows the empty row. the value of the true/false column is false.
i hope i make the question clear.
thanks in advance.
fyi, i'm using appian6.71....
OriginalPostID-79864
OriginalPostID-79864
Discussion posts and replies are publicly visible
Parents
0
Sathya Srinivasan
Appian Employee
over 11 years ago
The grids will be blank as long as none of the values that you set as 'default value' for the columns are all null. It seems that one of your array values is not blank. This is possible if you've set a default value at the Process Variables level or during any of the expression. The best way to test this is to check the values in a running instances using in flight monitoring. This will tell you what data is causing the issue.
The reason for your row is the TRUE FALSE field. Having a value of 'False' indicates to the grid to display the corresponding 'cell' with the value of false (unchecked). Try setting the default value of this pv to null and it should get rid of your row.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Reply
0
Sathya Srinivasan
Appian Employee
over 11 years ago
The grids will be blank as long as none of the values that you set as 'default value' for the columns are all null. It seems that one of your array values is not blank. This is possible if you've set a default value at the Process Variables level or during any of the expression. The best way to test this is to check the values in a running instances using in flight monitoring. This will tell you what data is causing the issue.
The reason for your row is the TRUE FALSE field. Having a value of 'False' indicates to the grid to display the corresponding 'cell' with the value of false (unchecked). Try setting the default value of this pv to null and it should get rid of your row.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Children
No Data