Unplanned
Last Updated: 20 Aug 2021 07:30 by ADMIN
John
Created on: 13 Aug 2021 09:56
Category: Grid
Type: Feature Request
1
Custom Boundcolumn Builder

I would like to be able to create .bindBoolColumn. I do not want extend the column itself.  I already have extensions for that.

Something like this:

GridBoundColumnBuilder<TModel> BoundBoolean<TValue>(Expression<Func<TModel, TValue>> expression)
Sample:
public  GridBoundColumnBuilder<TModel> BoundBool<TValue>(Expression<Func<TModel, TValue>> expression)

{

     column = *place create column code here*;
     column.Width(90);
     column.clientTemplate("customtemplate");

}
This will allow us to create grids faster.

 

2 comments
ADMIN
Eyup
Posted on: 20 Aug 2021 07:30

Hello ,

 

Thank you for providing additional details and clarification.

 

Regards,
Eyup
Progress Telerik

Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.

John
Posted on: 13 Aug 2021 13:08

as a follow-up, I wasn't looking for a "boundcolumn" specifically.  I would like the ability to create any kind of custom column binder.  Bool, commands, etc.  It's possible to extend the grid so you get results like this

 .CommandsColumn()
                .ActiveColumn()
                .Columns(columns =>
                {
                    columns.Bound(u => u.Name)
                        .Width(250);
                    columns.Bound(u => u.UomType.Name)
                        .DCellipseTemplate()
                        .Title("Uom Type")
                        .Width(150);
                    columns.Bound(u => u.Abbrev)

 

but i would prefer to keep them in the columns collection