Highlighted
Outstanding Contributor.
Outstanding Contributor.
1563 views

Various in a WPF

I have three questions to ask your help (the following link is the example of the three situations):

http://www.esic-lda.pt/VC_Help_V01.pdf

1-I'm using a datagrid and load the data as the example you sent me:

working-storage section.

      01 custTab type Tabelas.

set custTab to new Tabelas
set custTab::CODIG to BTB-CODIG
set custTab::DESAX to BTB-DESAX
write custList from custTab

Now I have two problems:

It's created a line more;

I can't select the first row to the first time.

2 - Picture in a data field

If the field value is zero then is put a 0 in the first position of the field and write before that position

3 - CheckBox inside a datagrid

How do I manage the checked and uncheked in this situation?

Thsnks again

0 Likes
5 Replies
Highlighted
Outstanding Contributor.
Outstanding Contributor.

RE: Various in a WPF

I upload a new version of your solution ‘testgriddetails’.

I set ‘CanUserAddRows = "False"‘ within the Customer Datagrid.

DateTime fields are mostly something special e.g. there is no Null-Value (it is not = 0). Potentially a solution can be a ‘DatePicker’.

I also add a ‘CheckBox’ to the CustomerGrid with some processing to show the state.

Freundliche Grüsse

Werner Lanter

EDV-Organisation

CH-8964 Rudolfstetten

0 Likes
Highlighted
Outstanding Contributor.
Outstanding Contributor.

RE: Various in a WPF

Thanks.

I gonna try to understand your project because is not easy for an roockie in VC/WPF like me.

in relation to line the more I already have property "CanUserAddRows" = "False" from the beginning.

0 Likes
Highlighted
Outstanding Contributor.
Outstanding Contributor.

RE: Various in a WPF

Did you take note that there are 2 DataGrids. I attached the porperty to the customers DataGrid.

0 Likes
Highlighted
Outstanding Contributor.
Outstanding Contributor.

RE: Various in a WPF

Yes. But in the example i send you in the link i have just one datagrid.

In the other example i use 2 datagrids (like yours) everything works fine and i don't have the last extra line.

0 Likes
Highlighted
Outstanding Contributor.
Outstanding Contributor.

RE: Various in a WPF

Can you send the concerning XAML File to my public EMail.

0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.