Hello
I have a radgrid with 20 identical columns and approximately 100 columns
I resumed the test " Grid - Customer with Edict Batch Server Update " which works very well,
The fuction $addHandler(cell, "dblclick", Function.createDelegate(cell, ShowColumnEditor)); for each cell take a lot of time
Furthermore I am obliged to pass on every cell to initialize the combobox
If TypeOf e.Item Is GridDataItem Then
Dim dataBoundItem As GridDataItem = e.Item
Dim dtCIntervention As New DataTable
dtCIntervention = ViewState("cInterventions")
Dim PeuID As Integer = e.Item.OwnerTableView.DataKeyValues(e.Item.ItemIndex)("PeuID")
Dim numCol As Integer
Dim dt As New DataTable
dt = ViewState("Intervention")
Dim ddl As New DropDownList
For r As Int16 = 1 To 19
ddl = CType(dataBoundItem.FindControl("ddlcInt" & r), DropDownList)
ddl.DataTextField = "cIntID"
ddl.DataValueField = "cIntID"
ddl.DataSource = dtCIntervention
ddl.DataBind()
Next
Is it possible to add the handler at the same time ...
Thank you in advance for your answers
Anne
I have a radgrid with 20 identical columns and approximately 100 columns
I resumed the test " Grid - Customer with Edict Batch Server Update " which works very well,
The fuction $addHandler(cell, "dblclick", Function.createDelegate(cell, ShowColumnEditor)); for each cell take a lot of time
Furthermore I am obliged to pass on every cell to initialize the combobox
If TypeOf e.Item Is GridDataItem Then
Dim dataBoundItem As GridDataItem = e.Item
Dim dtCIntervention As New DataTable
dtCIntervention = ViewState("cInterventions")
Dim PeuID As Integer = e.Item.OwnerTableView.DataKeyValues(e.Item.ItemIndex)("PeuID")
Dim numCol As Integer
Dim dt As New DataTable
dt = ViewState("Intervention")
Dim ddl As New DropDownList
For r As Int16 = 1 To 19
ddl = CType(dataBoundItem.FindControl("ddlcInt" & r), DropDownList)
ddl.DataTextField = "cIntID"
ddl.DataValueField = "cIntID"
ddl.DataSource = dtCIntervention
ddl.DataBind()
Next
Is it possible to add the handler at the same time ...
Thank you in advance for your answers
Anne