Looking for solution on editable grid performance

Hi Everyone,

I have an editable grid with 200 rows and in line validations and calculations on each field, we will also calculating the Totals of each column in the last row of the grid.

What is the best way to implement this? 

Few solutions are:

  • Dividing the grid into multiple parts i.e 20 rows in each grid (Even though performance is better page will take lot of time to load)
  • Diving the grid into multiple tabs 20 rows in each tab(using rich text fields).This may not be better user experience , user have to go through each tab and check for validations.
  • We can add paging by manipulating data in CDT  and using rich text fields. This may not be better using experience, if there is error in last rows user have to click on next 10 times.

 

Please suggest any approaches  which can make performance better.

Note:as per our use case Inline validations is mandatory, cannot validate on click of button.

 

Thanks in Advance

  Discussion posts and replies are publicly visible

Parents
  • Karthik - There are several different ways to solve this issue. Firstly, for the calculations on the bottom row - do these need to be dynamic anytime something is updated? If it's a 200 row grid, it's unlikely that the user is scrolling to the bottom every time. Instead, you could have a button or link that when selected calculates the sums. Secondly, what types of inline validations are you doing? Your second option could work - you could display an indicator next to the tab links (or make them red) when an error is evaluated in that section (by creating a validation framework outside of Appian standard. You could also do it through a milestone field with links to each step of the entry process. For your last option, of adding paging, you could theoretically add an option to page to the last page etc. so the user wouldn't have to click next 10 times.
  • Hi Ashvin, Thank you very much for your response.
    Yes the calculations needs to be dynamic. For 200 rows grids we are thinking to display the calculations at top. We have many grids they are less than 50 rows which we are displaying at bottom.
    My inline validation will be checking for sum of first 2 rows should be equal to sum of few other rows, total of the column should be equal to 200,data type validations etc.
    To display a red indicator i need to evaluate the validation rules again. is there any work around where i can find whether the grid contains errors or not?
Reply
  • Hi Ashvin, Thank you very much for your response.
    Yes the calculations needs to be dynamic. For 200 rows grids we are thinking to display the calculations at top. We have many grids they are less than 50 rows which we are displaying at bottom.
    My inline validation will be checking for sum of first 2 rows should be equal to sum of few other rows, total of the column should be equal to 200,data type validations etc.
    To display a red indicator i need to evaluate the validation rules again. is there any work around where i can find whether the grid contains errors or not?
Children
No Data