Questions tagged [celltemplate]
91 questions
1
vote
0 answers
How to apply a KeyBinding in a CellTemplate of a DataGridTemplateColumn?
I've got a bit of a curly problem that I cannot find any complete and definitive information on...
My requirement is very simple: I want to apply a KeyBinding to a DataGridTemplateColumn. The purpose of this is to execute a command when the Delete…

slugster
- 49,403
- 14
- 95
- 145
1
vote
1 answer
WPF GridView Column and dynamic cell template based upon data value
I have a GridView where I can generate the Columns at run time based upon the configuration settings. e.g
Text Column = to show the text in it
Image Column = to display the graphic in there.
but the problem is that the whole column would be shown…

Abdullah
- 21
- 1
- 3
1
vote
2 answers
Force DataGrid into edit mode when using ListView for CellTemplate
Greetings,
In an WPF DataGridTemplateColumn I have a CellTemplate using a ListView and a CellEditingTemplate using a DataGrid.
…

si618
- 16,580
- 12
- 67
- 84
1
vote
0 answers
C#: custom celltemplate is not invalidating in datagridview?
I am displaying some data in datagridview whose datasource is a datatable.
For DateTime column, I want to use datetimepicker control to edit the value.
So I tried the following code found in this…

CST RAIZE
- 428
- 1
- 5
- 18
1
vote
0 answers
Angularjs UI-GRID dynamic cell template for each cell
I have a UIGrid with 3 columns. Based on the value of 2nd column, I need to create custom cell template for 3rd column. Example :
Row 1 : Expression1 : String : TextBox
Row 2 : Expression2 : Boolean : Dropdown with true & false.
I have tried adding…

SDS
- 457
- 5
- 17
1
vote
1 answer
Can we have a single cell as Datepicker or a dropdown?
Am using AngularJS UI-Grid. Have a constant grid with 6 columns and 4 rows. In this grid i have a specific requirement where only one cell is a date picker, one cell is a dropdown, and few cells are number only. I know that for the entire column…

Sham
- 56
- 1
- 7
1
vote
1 answer
Why can't I call a function from within a ui-grid cell-template
I have a cellTemplate that's supposed to make a row editable when clicked. Works so far. However when this is done, also a function should be called, which just isn't happening:
colDef:
cellEditableCondition: ($scope) => $scope.row.editable
what I…

j2L4e
- 6,914
- 34
- 40
1
vote
0 answers
Dropdown in a celltemplate in AngularJS ui-grid
I have a grid and in 1 column am only getting 2 values. Either closed or Open. currently it is a normal grid so the user can enter any value. I want to force the user in selecting either Open or Closed from a dropdown rather than him typing. Also i…

Sham
- 56
- 1
- 7
1
vote
1 answer
Is there a way to change CellTemplate of GridViewColumn at Runtime?
In XAML, inside Windows.Resources, i have 2 DataTemplate
(...Horrible Stuff here )
(...Awesome Stuff here…

Wahyu
- 4,203
- 1
- 19
- 21
1
vote
1 answer
RadGridView CellTemplate
I need to change the CellTemplate of a RadGridView. All of the examples I can find online defines the Columns statically in the Xaml, and then in that Column tag, they define the CellTemplate:

Johan Aspeling
- 765
- 1
- 13
- 38
1
vote
0 answers
ng-Grid inside a celltemplate
I have created an ng-grid where 2 cells of a column should be another grids. am looking for a cell template that will check 3 conditions on a variable where if the variable is '0' then the cell will be editable, if the value is '1' then the call…

Akshar A K
- 392
- 5
- 14
- 23
1
vote
3 answers
Button click does not work in Celltemplate angular grid
I m trying to work with celltemplate. But click event did not work.
$scope.format = function(val){
return val.replace(/\//g, "");
};
var executionColumns = {
data: [],
enableSorting: true,
…

Kle
- 1,003
- 2
- 14
- 24
1
vote
1 answer
ng-grid search filter with cellTemplate
I have a problem using ng-grid search filter on column wich references cellTemplate.
My data object has multiple fields. One of those fields is an array and I use cellTemplate to create a div with ng-repeat to show those values and apply a certain…

bob
- 11
- 3
1
vote
1 answer
Silverlight - Access the Layout Grid's DataContext in a DataGrid CellTemplate's DataTemplate?
I am using Silverlight 3 to develop an application. In my app, I have a layout Grid (named "LayoutGrid") in which I have a DataGrid (named "PART_datagrid") with DataGridTemplateColumns. The LayoutGrid is set a DataContext in which there is a Ladders…

Sudeep
- 37
- 1
- 9
1
vote
0 answers
DataGridCellTemplate bound to ViewModel command
for each cell in this column i want to bind a command from my view model ,
on each can execute of that command i wan't to send the "Entity" property of each item in my items
source .
DataGrid :
…

eran otzap
- 12,293
- 20
- 84
- 139