grid view customization

Questionsgrid view customization
fahad zaeem asked 4 years ago

hello. i want to ask that in my mysql database table there are 5 columns and i just want to show 3 columns on this grid . moreover i want to edit 2 out of 3 columns in this grid .. how can i do this ? please help me out .. another thing i have a column whose type=datetime . so what can i do that it will pop out a calender while entering new record?

2 Answers
Abu Ghufran answered 4 years ago

You need to define columns and mentioned in docs "Customizing Columns of Grid"
And to hide some column, you can set:

$col["hidden"] = true;

And to make it uneditable,

$col["editable"] = false;

Rest options are also in docs.
Datepicker is available in licensed version.

fahad zaeem answered 4 years ago

thank u abu ghufran . yesterday i saw that doc page and successfully rectify my problem 🙂 this grid is awsome 🙂

Your Answer

20 + 16 =

OR, enter

Attach code here and paste link in question.
Attach screenshot here and paste link in question.



How useful was this discussion?

Click on a star to rate it!

Average rating / 5. Vote count:

As you found this post useful...

Follow us on social media!

We are sorry that this post was not useful for you!

Let us improve this post!