Hi,
I have a grid based on a RecordType, and I have coded a multi-selection mecanism inside the selectionSaveInto portion code.
When I select a line, some tests are made, but Appian takes 2 seconds to accept the selection (even if I do nothing, just click on a row).
Then I can select or deselect another line.... etc...
All works fine as, I let Appian finishing the work (progression bar is displayed at the top of the screen).
The problem goes when I click quickly on many lines: this creates some bugs.
How may I rid of this issue? is there any way to toggle enable/disable selection after having selected a row (while Appian is working)?
or is there any way to deactivate the mouse cursor during the Appian progression bar (as we could do with any other language like Java)?
Regards
Discussion posts and replies are publicly visible
Can you paste the SAIL code you have? There is an easy way in SAIL to only allow single row selection. Some reasons why the section might be slow:
1. Your record type is referencing a database view or large table
2. Your grid is querying extra columns from the database
Thank you Danny but I do not need to allow single row selection.I have to deal with muli-selection, but each time I select row, I have to wait 2 seconds.
Hi cedric,even if i click super quick, starting by the bottom, it is not going to break in my case. absolutly like expected.so perhaps a performance issue in your evironment? Are the loading bar appearing? Can you show your performance stats? perhaps we can get a clue there?
Hi Cedric,
which browser and version are you using?
//Kai
Hi Kais,
I'm using Chrome 85.0.4183.102
@Richard, with Chrome I don't see the loading bar with this little example, it is for this reason I have to click super quick to reproduce it.I've just tried with Mozilla, and it's worth... I can see the loading bar, so it is very easily to reproduce.
Which performance screen do you want to see? (admin console\monitoring...)
maybe could you try on Mozilla?
okay, then it is really a performance issue and no appian bug. at least one conclusion here.at first, lets try the sail performance tab. Then we can check one by one other possible sources, to verify it. in your case its written "performance"
for comparison reasons: my chrome version is "version 86.0.4240.75 (Official Build) (32-Bit)"
I can reproduce this behavior in Chrome on Appian Cloud. I'm not sure it's a bug per se - variable evaluation is quick but not guaranteed to be instantaneous. You might want to just set up validation on the grid to handle cases where someone "super-clicks" the rows.
you all using cloud, right? I am on premise.
Sorry Richard, I should have told you that.
Thank you Mike, I'm happy to see that someone else has reproduced it.We are indeed working on Appian Cloud.And with recordType grid you do not need to make "super quick clicks" to reproduce this issue. For these reason, I believe it is as bug.So we have changed our validation strategy. (we will validate all the rows only at the end) when the user click on submit.
smart approach.and i totally agree that it should not be the case.i asked a friend who is working on cloud. he couldn't reproduce it neither.so -> i am out. sorry that i couldnt help more :)
Ok Richard, no problem.Thank you for your help :-)