contributte / contributte/datagrid

Support for no primary key

Open
#696 1 comment 3 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
PHP
Stars
296
Forks
215
PR merge metrics
No merged PRs in 30d

Description

Sometimes I have really simple view only datagrids that don't have any primary key, currently I'm setting it to any column although it has duplicates works ok, but IMHO this should be supported.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No file or test entry point is named. Start by tracing how the datagrid handles data sources and assumes a primary key, then identify the behavior of view-only sources without one. Done means such sources work without assigning a duplicate column as a key while existing filtering, sorting, and pagination remain usable.

Written by the indexing model from the issue text.

Assessment

Tech stack
php
Domain
backend, databases
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.