Mar 31, 2016, 12:45 AM
Get a cell values ​​of all records
I hope you can lean on the following:
I'm trying to get the value of each cell in a column all records showing a GridPanel , I hope I have explained , however 'll upload a picture to show what I want , and this can save it as a string.
This is my code of left grid:
this is a image of what I requiered:

if they need more data so they can help me, tell me , I'm new here
I'm trying to get the value of each cell in a column all records showing a GridPanel , I hope I have explained , however 'll upload a picture to show what I want , and this can save it as a string.
This is my code of left grid:
var gpMappingConsumable = x.GridPanel()
.ID("gpMappingConsumable")
.Title("Consumibles")
.Margins("0 0 0 2.5")
.SortableColumns(false)
.Flex(1)
.Height(350)
.SelectionModel
(
x.RowSelectionModel()
.Mode(SelectionMode.Multi)
)
.Store
(
stMappingConsumable
)
.ColumnModel
(
x.Column()
.Text("idEquipo")
.DataIndex("_idequipment")
.Hidden(true),
x.Column()
.Text("id")
.DataIndex("_idconsumable")
.Hidden(true),
x.Column()
.Text("No. parte")
.DataIndex("noPart"),
x.Column()
.Text("Consumible")
.Width(300)
.DataIndex("description")
)
.View
(
x.GridView()
.LoadMask(true)
)
.BottomBar
(
x.PagingToolbar()
)
.Plugins
(
x.FilterHeader()
);
this is a image of what I requiered:
if they need more data so they can help me, tell me , I'm new here