Our blazing fast Grid component built with pure JavaScript


Post by fcoca@certinia.com »

Hi team,

After upgrading grid to version https://bryntum.com/products/grid/docs/guide/Grid/changelog#5-6-6-2024-01-31 looks like Id field is not preserved anymore in https://bryntum.com/products/grid/docs/api/Core/data/Store#property-records

Could be the API change on version 5.6.6 the root cause: To boost record creation performance, records now cache their id...?

I'm working in a Salesforce environment where Id is where the record key is stored.

Regards
Javi


Post by ghulam.ghous »

Hi Javi,

Thanks for the report, it is indeed a bug. I have created a high prio ticket to fix it asap: https://github.com/bryntum/support/issues/9246. Subscribe to the ticket to keep track of updates.

Regards,
Ghous


Post by fcoca@certinia.com »

Hi Ghous,

Thanks for having a look!

For iterating Store records, is the property https://bryntum.com/products/grid/docs/api/Core/data/Store#property-data a valid approach?
Here I can find the Id information as workaround meanwhile your team apply the fix.

Regards
Javi


Post by mats »

Issue has been fixed already and will be part of the next patch FYI.


Post by ghulam.ghous »

I think instead of this, you should use https://bryntum.com/products/grid/docs/api/Core/data/Store#property-records or https://bryntum.com/products/grid/docs/api/Core/data/Store#property-allRecords on store to access the records in the store. Data property is used to replace data in the store.


Post by fcoca@certinia.com »

Hi, any supported way of accessing Id information meanwhile the next Bryntum grid version is delivered. Probably we need to deliver a service pack (Salesforce ecosystem) where including the new Bryntum grid versión is not possible and customers needs to wait for a mayor version.


Post by mats »

How about using the latest nightly build? Should be very stable and only a few fixes in it.


Post by fcoca@certinia.com »

Will consider it, thanks!
Any date for the delivery of 5.6.12 version

Regards


Post by ghulam.ghous »

Hi Javi,

We are planning to release at the end of this week given that everything goes according to the plan. If some unexpected thing happens, then early next week.

Regards,
Ghous


Post Reply