-
Notifications
You must be signed in to change notification settings - Fork 70
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add DataGrid Componant #272
Labels
use case
Web Forms usage samples to be considered
Comments
We already have a GridView component FYI |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Would be great if you can add a DataGrid support as we were using it heavily in our system or if there is an easy swappable already implemented component.
Sample ASPX code:
<asp:DataGrid ID="dgCountries" CellSpacing="2" CellPadding="1" runat="server" EnableViewState="true" CssClass="table"
BorderWidth="0px" BorderStyle="None" DataKeyField="COUNTRY_ID" OnDeleteCommand="deleteCountry"
AllowSorting="false" AutoGenerateColumns="false">
<asp:TemplateColumn HeaderText="Country">
<asp:Label runat="server" Text='<%# htmlEncode(Container.DataItem, "COUNTRY_NAME")%>' ID="lblCountry">
</asp:Label>
</asp:TemplateColumn>
<asp:ButtonColumn HeaderStyle-Width="30" ItemStyle-CssClass="iconCell" Text="<i class='deleteIcon' alt='Delete' title='Delete'> </i>"
CommandName="Delete"></asp:ButtonColumn>
</asp:DataGrid>
The text was updated successfully, but these errors were encountered: