The Forums on slxdeveloper.com are now retired. The forum archive will remain available for the time being. Thank you for your participation on slxdeveloper.com!
|
|
Datagrid
Posted: 30 Oct 06 11:52 AM
|
fiogf49gjkf0d I have a datgrid on a tabed view in opportunitys. I am changing a value for the grid through the details view but i can't get the grid to update. I have tried application.basic.refreshmainview, I have tried to set the form through the application.forms collection and refresh that way. I can't find a method to refresh the values. any help would be great thanks ML |
|
|
|
Re: Datagrid
Posted: 30 Oct 06 11:55 AM
|
fiogf49gjkf0d DataGrid1.Refresh would refresh the data in the grid. If you have a reference to the form the grid is on then you can call the grid's refresh method that way. |
|
|
|
Re: Datagrid
Posted: 30 Oct 06 12:00 PM
|
fiogf49gjkf0d I also tried this when i invoke the refresh grid method it doesn't change the data( it dosen't seem to do anything). The only refresh that seems to update the value correctly is a ctrl-f5 but i can't ask the user to do this every time they change the value in the detils view.
Anything else I can try Thanks for the help Ryan |
|
|
|
Re: Datagrid
Posted: 30 Oct 06 5:20 PM
|
fiogf49gjkf0d This seems to fit the classic non-bound datagrid behavior. You need to set a bindid, usually the parent primary key. If this is an opportunity grid, most likely your bindid would be opportunity.opportunityid. |
|
|
|