Creating editable form table using Buffer Data Provider in VBCS (Part1)
In this blog we will see how to create an editable Form Table using Buffer Data Provider (BDP).
- Create a basic VBCS Web app
- Create a basic Json file which will be used as Data Source to display data into table
- Create a function to convert JSON String file to an Array
- Create an ADP variable having the same datatype as the Json file
- Create an Action for vbEnter Event inside which assign the array value to the newly created ADP variable
- Now create a table in ui and assign the given ADP as data and include all columns in the table
- Include ‘ojs/ojbufferingdataprovider‘as BufferingDataProvider in JS file
- Now create below function in JS to wrap the ADP with a BufferingDataProvider (BDP)
- Create an Any type of variable and assign BDP value to the same
- Now assign this BDP to the table and run the application to see if the table is displaying data correctly
Comments
Post a Comment