As we know, extjs4 provides a grid build-in checkcolumn, but seems this type only can bind with special bool type. My requirement is only want to show a checkbox in grid, don’t want to bind to any field.
How can I achieve that?
Thanks
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Use CheckboxModel as a selection model for your grid. Basic usage:
See “Framed with Checkbox Selection and Horizontal Scrolling” example at official examples page.