Page 1 of 1

Bind grid

Posted: Fri Jan 10, 2014 9:11 am
by ishani modi

Hi,

I want to bind square grid dynamically as per JSON string
can you suggest which control should i use ?
Image

Thanks,
Ishani


Bind grid

Posted: Fri Jan 10, 2014 9:56 am
by Kateryna Grynko

Hi Ishani,

I advice our Grid component: http://docs.appery.io/documentation/u...

You would need CSS like this:pretd .cell-wrapper{
background-color: blue;
margin:5px !important;
}/pre


Bind grid

Posted: Fri Jan 10, 2014 10:22 am
by ishani modi

Thank you for your reply.
I have 1 more question, if i want check uncheck on this grid item click how can i get it ?


Bind grid

Posted: Fri Jan 10, 2014 10:31 am
by Kateryna Grynko

Visually this can be done with CSS. And you would need some custom code. How do you want this to look and work?


Bind grid

Posted: Fri Jan 10, 2014 10:34 am
by Kateryna Grynko

I'd add about mapping such grid. If grid size will always be the same you can use Appery.io service to map it. If it may vary you would need to do it manually, with JS and HTML component, using method append: http://api.jquery.com/append/


Bind grid

Posted: Fri Jan 10, 2014 10:40 am
by ishani modi

no grid size will be dyanmically bind via rest service json. I followed this and had a binding dynamically
http://docs.appery.io/tutorials/build...
I want select deselect on the binding.


Bind grid

Posted: Fri Jan 10, 2014 10:50 am
by ishani modi

i solved it :)