Our blazing fast Grid component built with pure JavaScript


Post by thejas.pateel »

Hi,
can you please tell where to add persist in column with code snippet ?


Post by mats »

It's a model field config:

store : new Store({
        fields : [{
            name : 'someName',
            type : 'string',
            persist : false
        }, 

Post by thejas.pateel »

Hi,
Please provide how can i use this in grid column config


Post by mats »

It's not a Column config. This is a data field setting, a data field is then visualized in a grid column UI.


Post by thejas.pateel »

PLease provide project having grid.store.commit so i can use in my project


Post by thejas.pateel »

When i call grid.store.commit it giving below error.

comit.jpg
comit.jpg (85.03 KiB) Viewed 270 times

Post by mats »

Please let us know how we can reproduce, and upload a simple test case so we can see what is going on.


Post by thejas.pateel »

Step1: try to load data through grid.store.data- through API call
Step 2:try to edit cell and add custom button in that click event try to add grid.store.commit()
step 3: you will get above error


Post by mats »

Can you please share your code? We're unable to reproduce this... Also, what version are you using?


Post Reply