New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to set programatically the selected Row? #381
Comments
Please see the selection methods in the API: |
Many thanks for your support, it was there in the documentation, I did not scroll down:
|
i try to set set the value of selected row to Angularjs variable, it shown good in console, but in html page, i have undefined, |
This one is fine , this works fine if its a straight grid,.. But if its a Tree view structure .. is there any way we can point out the selected node... |
Just updating the link to the API's selection methods: |
I tried node selection it is working but scroll down is not working Please help us |
The grid selection documentation does not describe how to search for a row based on a known field value. Just in case anyone needs it. The node selection API documentation does not list setExpanded.
|
Hi, does anyone knows can I select row silently? I mean without emiting rowSelected event. |
setSelected has a third argument, suppressFinishActions, that unhelpfully is not mentioned in the API docs. If you set this to true, it will not issue callbacks after AG grid has handled selection. So you can do
|
aggrid on ready function is not proper for this transact. agon ready just drawing table if you want manipulate data you have to approach before ag ready. but there is no option for this.if you add this code on your methods.
this function is normal get method except last part. İf you selected some rows on ag and if you close ag all selection will deleted on the table but you stıll have which data selected on your data property when you openin ag again. You will fallow this way.this part of code for real ready function i mean before preparation of data.
firstly we will add all selected data on value prop for adding to billing list. But if customer wants to reopen product select aggrid again customer cant see the selected products. This getproducts func work for everytime on ag open. and getting all products. compare this data with our value property. and sending to setSelectedItems funciton for check selected.
|
Hi,
I have an angular grid and a form. Each time I select a row, I amke changes and I save and refresh data. Everything looks good unless I need to keep my row selected since this is not appropriate for the end user.
Best Regards
HJ
The text was updated successfully, but these errors were encountered: