Questions tagged as 'datagrid'

1
answer

How to edit data (numbers only) and calculate its values in a DataGrid?

I need a DataGrid column to receive users only numbers in the rows (cells) and after clicking on the button, multiplication calculations are performed between cells on the same row and different columns. The DataGrid is populated as follows to t...
asked by 27.05.2016 / 01:31
1
answer

How to change this JSON object?

I have a problem with this: I am using CakePHP and sending JSON to a datagrid of EasyUI as follows: $rows = $this->Produto->find('all', array('fields' => array( 'id', 'codigo_produto', 'codigo_pedido' ))); $total = $this->Pr...
asked by 29.09.2015 / 15:02
2
answers

Changing Cell Color according to condition in IF in C # WPF source code

I have a DataGrid in a form in C # WPF, how can I execute a method retrieve each cell contained in that DataGrid and assign a possible value, or change the background color? For example I have a DataGrid: [ A ] [ D ] [ C ] [ C ] [ B ] [ A ]...
asked by 29.05.2017 / 13:17
1
answer

Change the color of a line and deselect a DataGrid

I have a method where I can change the color of a row in my DataGrid. I followed this link: Link The problem is how to take the selection off when it is painted. Type, go back to the original color. I tried the following way: public...
asked by 16.06.2015 / 18:46
1
answer

Adding the RadioButton in the DataGrid at runtime

At some point in the software, I need to populate a DataGrid in runtime. I was able to perform this operation partially. My problem is that even though I enter RadioButton.Content , it just does not display past content. Also, Group...
asked by 03.02.2016 / 18:36
2
answers

Scroll element of the DataGrid class WPF C #

I have a function that creates a grid, and I needed to know the value of the scroll of this grid, so I can trigger an event when it reaches the bottom of the page. But I do not know how to get those values, the function is down here: using Sys...
asked by 05.07.2018 / 21:25
1
answer

Alter the cell color of the DataGrid

I have a DataGrid in C # WPF, and I need to change the color of some cells according to a condition. For example I have the Inventory column and if the Inventory is less than a specific value I put the color of it in red. how can I do this, retr...
asked by 29.05.2017 / 01:25
1
answer

How to display a list of images with path saved in the JSF2.2 + Primefaces 4 database

I'm having difficulty displaying images in a dataGrid using both the img and graphicImage passing the tags to the database path. Could someone help? I'm using tomcat 8. The last way I tried was this: No Bean: public StreamedContent ge...
asked by 26.10.2015 / 17:47
2
answers

Change DataGrid Color

Galera,    I need some help, I already researched but did not find,    I would like to know how to change the color of the selected item in the DataGrid.    Example: When I have a row in the datagrid and click on it it is selected with the blue...
asked by 27.06.2018 / 16:05
1
answer

Empty line at the end when I do Data Binding - (WPF DataGrid Control + MySQL)

I've been implementing the example for this . I basically have: XAML <Window x:Class="DataGridBind.MainWindow" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006...
asked by 03.11.2016 / 19:22