Data from custom ultra datagrid

Steven,

Thanks for the info! I normally would have tried something to that effect, but the whole form is custom and the data it's bound to is a manual process, not where it's data source is set to a Vantage table in the Customization screen and auto populates. I have a SQL query that is pulled in and populates the grid. The grid pretty much just gets bound once, so I'm using the current data it has. That's where I wanted to get the selected row and cell data that was clicked. That still is a good idea...I'll look more in to that.

Thanks again!!!


Kurt

--- In vantage@yahoogroups.com, Steven Gotschall <sgotschall@...> wrote:
>
> Couldn't you just add custom text/numeric/date boxes to your form and bind them to the same Datasource and field as the datagrid? When the current row in the datagrid changes, the form controls should update to show the same data that is in the row selected.
>
>
>
>
> ________________________________
> From: Kurt <iusevantage@...>
> To: vantage@yahoogroups.com
> Sent: Thu, December 17, 2009 10:53:52 AM
> Subject: [Vantage] Data from custom ultra datagrid
>
> ÂÂ
> (sorry if this posted more than once, I got some errors a couple times)
>
> Hi all!
>
> I have a custom datagrid added to a custom form. The grid binds to the my datasource and displays fine. What I would like to do, is when a user clicks on a row, the individual cells in the grid of that row are displayed in individual textboxes below the grid. I have used the "AfterSelectChange( )" to detect the click on the row and that works ok, but I can't get it to tell me the row and cell contents. I have done this many times in VB.net, but some VB code seems to work in Vantage, and some does not. This looks like a does not. I haven't found any answer searching the groups here either.
>
> Has anyone been able to get a row index and the ability to select data from the cells in the selected row? I've tried some of the things in the Custom Object Explorer and that was no help.
>
> Does anyone have any suggestions or examples? Thanks very much in advance!!
>
> Kurt
>
>
>
>
>
>
>
> [Non-text portions of this message have been removed]
>
Hi all!

I have a custom datagrid added to a custom form. The grid binds to the my datasource and displays fine. What I would like to do, is when a user clicks on a row, the individual cells in the grid of that row are displayed in individual textboxes below the grid. I have used the "AfterSelectChange()" to detect the click on the row and that works ok, but I can't get it to tell me the row and cell contents. I have done this many times in VB.net, but some VB code seems to work in Vantage, and some does not. This looks like a does not. I haven't found any answer searching the groups here either.

Has anyone been able to get a row index and the ability to select data from the cells in the selected row? I've tried some of the things in the Custom Object Explorer and that was no help.

Does anyone have any suggestions or examples? Thanks very much in advance!!


Kurt
(sorry if this posted more than once, I got some errors a couple times)

Hi all!

I have a custom datagrid added to a custom form. The grid binds to the my datasource and displays fine. What I would like to do, is when a user clicks on a row, the individual cells in the grid of that row are displayed in individual textboxes below the grid. I have used the "AfterSelectChange()" to detect the click on the row and that works ok, but I can't get it to tell me the row and cell contents. I have done this many times in VB.net, but some VB code seems to work in Vantage, and some does not. This looks like a does not. I haven't found any answer searching the groups here either.

Has anyone been able to get a row index and the ability to select data from the cells in the selected row? I've tried some of the things in the Custom Object Explorer and that was no help.

Does anyone have any suggestions or examples? Thanks very much in advance!!


Kurt
Hi all!
(Sorry if this is posted more than once, a couple times I got errors after posting)

I have a custom datagrid added to a custom form. The grid binds to the my datasource and displays fine. What I would like to do, is when a user clicks on a row, the individual cells in the grid of that row are displayed in individual textboxes below the grid. I have used the "AfterSelectChange()" to detect the click on the row and that works ok, but I can't get it to tell me the row and cell contents. I have done this many times in VB.net, but some VB code seems to work in Vantage, and some does not. This looks like a does not. I haven't found any answer searching the groups here either.

Has anyone been able to get a row index and the ability to select data from the cells in the selected row? I've tried some of the things in the Custom Object Explorer and that was no help.

Does anyone have any suggestions or examples? Thanks very much in advance!!


Kurt
TextBox.Text = ugdEpiCustom1.Selected.Rows(0).Cells("Key2").Value

--- In vantage@yahoogroups.com, "Kurt" <iusevantage@...> wrote:
>
> (sorry if this posted more than once, I got some errors a couple times)
>
> Hi all!
>
> I have a custom datagrid added to a custom form. The grid binds to the my datasource and displays fine. What I would like to do, is when a user clicks on a row, the individual cells in the grid of that row are displayed in individual textboxes below the grid. I have used the "AfterSelectChange()" to detect the click on the row and that works ok, but I can't get it to tell me the row and cell contents. I have done this many times in VB.net, but some VB code seems to work in Vantage, and some does not. This looks like a does not. I haven't found any answer searching the groups here either.
>
> Has anyone been able to get a row index and the ability to select data from the cells in the selected row? I've tried some of the things in the Custom Object Explorer and that was no help.
>
> Does anyone have any suggestions or examples? Thanks very much in advance!!
>
>
> Kurt
>
Couldn't you just add custom text/numeric/date boxes to your form and bind them to the same Datasource and field as the datagrid? When the current row in the datagrid changes, the form controls should update to show the same data that is in the row selected.




________________________________
From: Kurt <iusevantage@...>
To: vantage@yahoogroups.com
Sent: Thu, December 17, 2009 10:53:52 AM
Subject: [Vantage] Data from custom ultra datagrid

Â
(sorry if this posted more than once, I got some errors a couple times)

Hi all!

I have a custom datagrid added to a custom form. The grid binds to the my datasource and displays fine. What I would like to do, is when a user clicks on a row, the individual cells in the grid of that row are displayed in individual textboxes below the grid. I have used the "AfterSelectChange( )" to detect the click on the row and that works ok, but I can't get it to tell me the row and cell contents. I have done this many times in VB.net, but some VB code seems to work in Vantage, and some does not. This looks like a does not. I haven't found any answer searching the groups here either.

Has anyone been able to get a row index and the ability to select data from the cells in the selected row? I've tried some of the things in the Custom Object Explorer and that was no help.

Does anyone have any suggestions or examples? Thanks very much in advance!!

Kurt







[Non-text portions of this message have been removed]
That worked perfectly! Thank you very much!!

Kurt

--- In vantage@yahoogroups.com, "bw2868bond" <bwalker@...> wrote:
>
> TextBox.Text = ugdEpiCustom1.Selected.Rows(0).Cells("Key2").Value
>
> --- In vantage@yahoogroups.com, "Kurt" <iusevantage@> wrote:
> >
> > (sorry if this posted more than once, I got some errors a couple times)
> >
> > Hi all!
> >
> > I have a custom datagrid added to a custom form. The grid binds to the my datasource and displays fine. What I would like to do, is when a user clicks on a row, the individual cells in the grid of that row are displayed in individual textboxes below the grid. I have used the "AfterSelectChange()" to detect the click on the row and that works ok, but I can't get it to tell me the row and cell contents. I have done this many times in VB.net, but some VB code seems to work in Vantage, and some does not. This looks like a does not. I haven't found any answer searching the groups here either.
> >
> > Has anyone been able to get a row index and the ability to select data from the cells in the selected row? I've tried some of the things in the Custom Object Explorer and that was no help.
> >
> > Does anyone have any suggestions or examples? Thanks very much in advance!!
> >
> >
> > Kurt
> >
>