on 10-15-2008 5:10 AM
Hi To All,
I had a matrix in my screen..It contains a Item Column and Choose Column...In that Choose Column in CheckBox column..There is a SelectAll button in my screen..If i click the SelectAll Button all the Checkbox should be checked atonce. But for me, all the checkbox had checked one by one...If i am having minimum number of rows means its ok...If the row exceeds 20 to 25 means, i shd wait till all the checkbox got checked......My need is all my checkbox shd be checked atonce..How to do it...Here is my source....
Case SAPbouiCOM.BoEventTypes.et_CLICK
If pVal.ItemUID = "SelectAll" And pVal.BeforeAction = False Then
For intCount As Integer = 1 To MatMName.VisualRowCount
Try
MatMName.GetLineData(intCount)
MatMName = Conv_Form.Items.Item("MatMName").Specific
MatMName.Columns.Item("Choose").Cells.Item(intCount).Click(SAPbouiCOM.BoCellClickType.ct_Regular)
Catch ex As Exception
End Try
Next
End If
Hi Sridhar,
if you want avoid checking rows one by one , make use of Freeze.
Try
MatMName = Conv_Form.Items.Item("MatMName").Specific
Conv_Form.Freeze(True)
For intCount As Integer = 1 To MatMName.VisualRowCount
MatMName.GetLineData(intCount) MatMName.Columns.Item("Choose").Cells.Item(intCount).Click(SAPbouiCOM.BoCellClickType.ct_Regular)
Next
Conv_Form.Freeze(False)
Conv_Form.Update()
Catch ex As Exception
End Try
Regards,
Ganesh K
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Dear Sridhar R Badri,
You could try to set the Checked property as Ture of the CheckBox:
oCheckBox.Checked = True
Best Regards
Jane Jing
SAP Business One Forums team
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
108 | |
12 | |
11 | |
6 | |
5 | |
4 | |
3 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.